@langchain/react 0.0.1
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/LICENSE +21 -0
- package/README.md +301 -0
- package/dist/_virtual/_rolldown/runtime.cjs +29 -0
- package/dist/index.cjs +38 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.cts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/channels/base.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/index.d.cts +3 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/index.d.ts +3 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts +108 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts +108 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.1.5_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___z_0d5e45651b6fb9f696195862204d53c7/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/ReactAgent.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/ReactAgent.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/index.d.cts +4 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/index.d.ts +4 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/contextEditing.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/contextEditing.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/hitl.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/hitl.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelFallback.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelFallback.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/modelRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/pii.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/pii.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/piiRedaction.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/piiRedaction.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/summarization.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/summarization.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolEmulator.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolEmulator.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/toolRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/types.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware/types.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/middleware.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/types.d.cts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/agents/types.d.ts +3 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/index.d.cts +23 -0
- package/dist/node_modules/.pnpm/langchain@1.2.27_@langchain_core@1.1.28_openai@6.16.0_ws@8.19.0_zod@4.3.5___openai@6.16_37b31122102851880bcc0afaeba68edd/node_modules/langchain/dist/index.d.ts +23 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.cts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.ts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/ZodError.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.cts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.ts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/errorUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.cts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.ts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/parseUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.cts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.ts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/typeAliases.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.cts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.ts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/helpers/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.cts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.ts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.cts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.ts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v3/types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/checks.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/core.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.cts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.ts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/errors.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.cts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.ts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.ts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.ts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.ts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.ts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.ts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.cts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.ts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/versions.d.ts.map +1 -0
- package/dist/react-ui/client.cjs +138 -0
- package/dist/react-ui/client.cjs.map +1 -0
- package/dist/react-ui/client.d.cts +80 -0
- package/dist/react-ui/client.d.cts.map +1 -0
- package/dist/react-ui/client.d.ts +80 -0
- package/dist/react-ui/client.d.ts.map +1 -0
- package/dist/react-ui/client.js +132 -0
- package/dist/react-ui/client.js.map +1 -0
- package/dist/react-ui/index.cjs +15 -0
- package/dist/react-ui/index.cjs.map +1 -0
- package/dist/react-ui/index.d.cts +3 -0
- package/dist/react-ui/index.d.ts +3 -0
- package/dist/react-ui/index.js +9 -0
- package/dist/react-ui/index.js.map +1 -0
- package/dist/react-ui/server/index.cjs +6 -0
- package/dist/react-ui/server/index.d.cts +3 -0
- package/dist/react-ui/server/index.d.ts +3 -0
- package/dist/react-ui/server/index.js +4 -0
- package/dist/react-ui/server/server.cjs +57 -0
- package/dist/react-ui/server/server.cjs.map +1 -0
- package/dist/react-ui/server/server.d.cts +54 -0
- package/dist/react-ui/server/server.d.cts.map +1 -0
- package/dist/react-ui/server/server.d.ts +54 -0
- package/dist/react-ui/server/server.d.ts.map +1 -0
- package/dist/react-ui/server/server.js +56 -0
- package/dist/react-ui/server/server.js.map +1 -0
- package/dist/react-ui/types.cjs +38 -0
- package/dist/react-ui/types.cjs.map +1 -0
- package/dist/react-ui/types.d.cts +25 -0
- package/dist/react-ui/types.d.cts.map +1 -0
- package/dist/react-ui/types.d.ts +25 -0
- package/dist/react-ui/types.d.ts.map +1 -0
- package/dist/react-ui/types.js +35 -0
- package/dist/react-ui/types.js.map +1 -0
- package/dist/stream.cjs +18 -0
- package/dist/stream.cjs.map +1 -0
- package/dist/stream.custom.cjs +162 -0
- package/dist/stream.custom.cjs.map +1 -0
- package/dist/stream.custom.d.cts +3 -0
- package/dist/stream.custom.d.ts +4 -0
- package/dist/stream.custom.js +161 -0
- package/dist/stream.custom.js.map +1 -0
- package/dist/stream.d.cts +193 -0
- package/dist/stream.d.cts.map +1 -0
- package/dist/stream.d.ts +193 -0
- package/dist/stream.d.ts.map +1 -0
- package/dist/stream.js +17 -0
- package/dist/stream.js.map +1 -0
- package/dist/stream.lgp.cjs +623 -0
- package/dist/stream.lgp.cjs.map +1 -0
- package/dist/stream.lgp.js +622 -0
- package/dist/stream.lgp.js.map +1 -0
- package/dist/thread.cjs +21 -0
- package/dist/thread.cjs.map +1 -0
- package/dist/thread.js +20 -0
- package/dist/thread.js.map +1 -0
- package/dist/types.d.cts +93 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.ts +93 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +106 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registries.d.cts","names":["core","$ZodType","$output","$input","$replace","Meta","S","output","input","M","P","K","R","args","MetadataType","$ZodRegistry","Schema","WeakMap","Map","_meta","_schema","_map","_idmap","add","schema","clear","remove","get","has","JSONSchemaMeta","id","title","description","deprecated","k","GlobalMeta","registry","T","globalRegistry"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;cAEqBE,OAAAA;AAAAA,KACTA,OAAAA,UAAiBA,OAAAA;AAAAA,cACRC,MAAAA;AAAAA,KACTA,MAAAA,UAAgBA,MAAAA;AAAAA,KAChBC,QAAAA,iBAAyBH,QAAAA,IAAYI,IAAAA,SAAaH,OAAAA,GAAUF,MAAAA,CAAYM,CAAAA,IAAKD,IAAAA,SAAaF,MAAAA,GAASH,KAAAA,CAAWM,CAAAA,IAAKD,IAAAA,uBAA2BD,QAAAA,CAASK,CAAAA,EAAGH,CAAAA,MAAOD,IAAAA,cAAiBQ,IAAAA,6BAAgCA,IAAAA,gBAC9MH,CAAAA,GAAIN,QAAAA,CAASM,CAAAA,CAAEC,CAAAA,GAAIL,CAAAA,QAC7BF,QAAAA,CAASQ,CAAAA,EAAGN,CAAAA,IAAKD,IAAAA,gCACPA,IAAAA,GAAOD,QAAAA,CAASC,IAAAA,CAAKM,CAAAA,GAAIL,CAAAA,MACrCD,IAAAA;AAAAA,KACCS,YAAAA;AAAAA,cACgBC,YAAAA,cAA0BD,YAAAA,GAAeA,YAAAA,iBAA6Bb,QAAAA,GAAWA,QAAAA;EAClGkB,KAAAA,EAAOd,IAAAA;EACPe,OAAAA,EAASJ,MAAAA;EACTK,IAAAA,EAAMJ,OAAAA,CAAQD,MAAAA,EAAQZ,QAAAA,CAASC,IAAAA,EAAMW,MAAAA;EACrCM,MAAAA,EAAQJ,GAAAA,SAAYF,MAAAA;EACpBO,GAAAA,WAAcP,MAAAA,CAAAA,CAAQQ,MAAAA,EAAQlB,CAAAA,KAAMa,KAAAA,oBAAyBd,IAAAA,IAAQD,QAAAA,CAASC,IAAAA,EAAMC,CAAAA,OAAQF,QAAAA,CAASC,IAAAA,EAAMC,CAAAA;EAC3GmB,KAAAA,CAAAA;EACAC,MAAAA,CAAOF,MAAAA,EAAQR,MAAAA;EACfW,GAAAA,WAAcX,MAAAA,CAAAA,CAAQQ,MAAAA,EAAQlB,CAAAA,GAAIF,QAAAA,CAASC,IAAAA,EAAMC,CAAAA;EACjDsB,GAAAA,CAAIJ,MAAAA,EAAQR,MAAAA;AAAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { $ZodType } from "./schemas.js";
|
|
2
|
+
import { input, output } from "./core.js";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts
|
|
5
|
+
declare const $output: unique symbol;
|
|
6
|
+
type $output = typeof $output;
|
|
7
|
+
declare const $input: unique symbol;
|
|
8
|
+
type $input = typeof $input;
|
|
9
|
+
type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
|
|
10
|
+
type MetadataType = object | undefined;
|
|
11
|
+
declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
|
|
12
|
+
_meta: Meta;
|
|
13
|
+
_schema: Schema;
|
|
14
|
+
_map: WeakMap<Schema, $replace<Meta, Schema>>;
|
|
15
|
+
_idmap: Map<string, Schema>;
|
|
16
|
+
add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
|
|
17
|
+
clear(): this;
|
|
18
|
+
remove(schema: Schema): this;
|
|
19
|
+
get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
|
|
20
|
+
has(schema: Schema): boolean;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { $ZodRegistry, $replace };
|
|
24
|
+
//# sourceMappingURL=registries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registries.d.ts","names":["core","$ZodType","$output","$input","$replace","Meta","S","output","input","M","P","K","R","args","MetadataType","$ZodRegistry","Schema","WeakMap","Map","_meta","_schema","_map","_idmap","add","schema","clear","remove","get","has","JSONSchemaMeta","id","title","description","deprecated","k","GlobalMeta","registry","T","globalRegistry"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/registries.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;cAEqBE,OAAAA;AAAAA,KACTA,OAAAA,UAAiBA,OAAAA;AAAAA,cACRC,MAAAA;AAAAA,KACTA,MAAAA,UAAgBA,MAAAA;AAAAA,KAChBC,QAAAA,iBAAyBH,QAAAA,IAAYI,IAAAA,SAAaH,OAAAA,GAAUF,MAAAA,CAAYM,CAAAA,IAAKD,IAAAA,SAAaF,MAAAA,GAASH,KAAAA,CAAWM,CAAAA,IAAKD,IAAAA,uBAA2BD,QAAAA,CAASK,CAAAA,EAAGH,CAAAA,MAAOD,IAAAA,cAAiBQ,IAAAA,6BAAgCA,IAAAA,gBAC9MH,CAAAA,GAAIN,QAAAA,CAASM,CAAAA,CAAEC,CAAAA,GAAIL,CAAAA,QAC7BF,QAAAA,CAASQ,CAAAA,EAAGN,CAAAA,IAAKD,IAAAA,gCACPA,IAAAA,GAAOD,QAAAA,CAASC,IAAAA,CAAKM,CAAAA,GAAIL,CAAAA,MACrCD,IAAAA;AAAAA,KACCS,YAAAA;AAAAA,cACgBC,YAAAA,cAA0BD,YAAAA,GAAeA,YAAAA,iBAA6Bb,QAAAA,GAAWA,QAAAA;EAClGkB,KAAAA,EAAOd,IAAAA;EACPe,OAAAA,EAASJ,MAAAA;EACTK,IAAAA,EAAMJ,OAAAA,CAAQD,MAAAA,EAAQZ,QAAAA,CAASC,IAAAA,EAAMW,MAAAA;EACrCM,MAAAA,EAAQJ,GAAAA,SAAYF,MAAAA;EACpBO,GAAAA,WAAcP,MAAAA,CAAAA,CAAQQ,MAAAA,EAAQlB,CAAAA,KAAMa,KAAAA,oBAAyBd,IAAAA,IAAQD,QAAAA,CAASC,IAAAA,EAAMC,CAAAA,OAAQF,QAAAA,CAASC,IAAAA,EAAMC,CAAAA;EAC3GmB,KAAAA,CAAAA;EACAC,MAAAA,CAAOF,MAAAA,EAAQR,MAAAA;EACfW,GAAAA,WAAcX,MAAAA,CAAAA,CAAQQ,MAAAA,EAAQlB,CAAAA,GAAIF,QAAAA,CAASC,IAAAA,EAAMC,CAAAA;EACjDsB,GAAAA,CAAIJ,MAAAA,EAAQR,MAAAA;AAAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { BaseSchema } from "./json-schema.cjs";
|
|
2
|
+
import { StandardSchemaV1 } from "./standard-schema.cjs";
|
|
3
|
+
import { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.cjs";
|
|
4
|
+
import { AnyFunc, MaybeAsync, PrimitiveSet, PropValues } from "./util.cjs";
|
|
5
|
+
import { version } from "./versions.cjs";
|
|
6
|
+
import { $ZodCheck } from "./checks.cjs";
|
|
7
|
+
import { $ZodErrorMap, $ZodIssueBase, $ZodRawIssue } from "./errors.cjs";
|
|
8
|
+
import { $constructor, input, output } from "./core.cjs";
|
|
9
|
+
|
|
10
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts
|
|
11
|
+
interface ParseContext<T extends $ZodIssueBase = never> {
|
|
12
|
+
/** Customize error messages. */
|
|
13
|
+
readonly error?: $ZodErrorMap<T>;
|
|
14
|
+
/** Include the `input` field in issue objects. Default `false`. */
|
|
15
|
+
readonly reportInput?: boolean;
|
|
16
|
+
/** Skip eval-based fast path. Default `false`. */
|
|
17
|
+
readonly jitless?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseContext<T> {
|
|
21
|
+
readonly async?: boolean | undefined;
|
|
22
|
+
readonly direction?: "forward" | "backward";
|
|
23
|
+
readonly skipChecks?: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface ParsePayload<T = unknown> {
|
|
26
|
+
value: T;
|
|
27
|
+
issues: $ZodRawIssue[];
|
|
28
|
+
/** A may to mark a whole payload as aborted. Used in codecs/pipes. */
|
|
29
|
+
aborted?: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface $ZodTypeDef {
|
|
32
|
+
type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "function" | "custom";
|
|
33
|
+
error?: $ZodErrorMap<never> | undefined;
|
|
34
|
+
checks?: $ZodCheck<never>[];
|
|
35
|
+
}
|
|
36
|
+
interface _$ZodTypeInternals {
|
|
37
|
+
/** The `@zod/core` version of this schema */
|
|
38
|
+
version: typeof version;
|
|
39
|
+
/** Schema definition. */
|
|
40
|
+
def: $ZodTypeDef;
|
|
41
|
+
/** @internal Randomly generated ID for this schema. */
|
|
42
|
+
/** @internal List of deferred initializers. */
|
|
43
|
+
deferred: AnyFunc[] | undefined;
|
|
44
|
+
/** @internal Parses input and runs all checks (refinements). */
|
|
45
|
+
run(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
46
|
+
/** @internal Parses input, doesn't run checks. */
|
|
47
|
+
parse(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
48
|
+
/** @internal Stores identifiers for the set of traits implemented by this schema. */
|
|
49
|
+
traits: Set<string>;
|
|
50
|
+
/** @internal Indicates that a schema output type should be considered optional inside objects.
|
|
51
|
+
* @default Required
|
|
52
|
+
*/
|
|
53
|
+
/** @internal */
|
|
54
|
+
optin?: "optional" | undefined;
|
|
55
|
+
/** @internal */
|
|
56
|
+
optout?: "optional" | undefined;
|
|
57
|
+
/** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
|
|
58
|
+
*
|
|
59
|
+
* Defined on: enum, const, literal, null, undefined
|
|
60
|
+
* Passthrough: optional, nullable, branded, default, catch, pipe
|
|
61
|
+
* Todo: unions?
|
|
62
|
+
*/
|
|
63
|
+
values?: PrimitiveSet | undefined;
|
|
64
|
+
/** Default value bubbled up from */
|
|
65
|
+
/** @internal A set of literal discriminators used for the fast path in discriminated unions. */
|
|
66
|
+
propValues?: PropValues | undefined;
|
|
67
|
+
/** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
|
|
68
|
+
pattern: RegExp | undefined;
|
|
69
|
+
/** @internal The constructor function of this schema. */
|
|
70
|
+
constr: new (def: any) => $ZodType;
|
|
71
|
+
/** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
|
|
72
|
+
bag: Record<string, unknown>;
|
|
73
|
+
/** @internal The set of issues this schema might throw during type checking. */
|
|
74
|
+
isst: $ZodIssueBase;
|
|
75
|
+
/** @internal Subject to change, not a public API. */
|
|
76
|
+
processJSONSchema?: ((ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void) | undefined;
|
|
77
|
+
/** An optional method used to override `toJSONSchema` logic. */
|
|
78
|
+
toJSONSchema?: () => unknown;
|
|
79
|
+
/** @internal The parent of this schema. Only set during certain clone operations. */
|
|
80
|
+
parent?: $ZodType | undefined;
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
|
|
84
|
+
/** @internal The inferred output type */
|
|
85
|
+
output: O;
|
|
86
|
+
/** @internal The inferred input type */
|
|
87
|
+
input: I;
|
|
88
|
+
}
|
|
89
|
+
type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
|
|
90
|
+
interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
|
|
91
|
+
_zod: Internals;
|
|
92
|
+
"~standard": $ZodStandardSchema<this>;
|
|
93
|
+
}
|
|
94
|
+
declare const $ZodType: $constructor<$ZodType>;
|
|
95
|
+
//#endregion
|
|
96
|
+
export { $ZodType, $ZodTypeInternals, ParsePayload };
|
|
97
|
+
//# sourceMappingURL=schemas.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.cts","names":["checks","core","errors","JSONSchema","StandardSchemaV1","ProcessParams","ToJSONSchemaContext","util","version","ParseContext","T","$ZodIssueBase","$ZodErrorMap","error","reportInput","jitless","ParseContextInternal","async","direction","skipChecks","ParsePayload","$ZodRawIssue","value","issues","aborted","CheckFn","MaybeAsync","input","$ZodTypeDef","$ZodCheck","type","_$ZodTypeInternals","AnyFunc","Set","PrimitiveSet","PropValues","RegExp","$ZodType","Record","BaseSchema","def","deferred","run","payload","ctx","parse","traits","optin","optout","values","propValues","pattern","constr","bag","isst","processJSONSchema","json","params","toJSONSchema","parent","$ZodTypeInternals","O","I","output","$ZodStandardSchema","Props","SomeType","_zod","Internals","_$ZodType","$constructor","clone","$ZodStringDef","coerce","$ZodStringInternals","Input","$ZodIssueInvalidType","LoosePartial","minimum","maximum","patterns","format","contentEncoding","$ZodString","$ZodStringFormatDef","Format","$ZodCheckStringFormatDef","$ZodStringFormatInternals","$ZodCheckStringFormatInternals","$ZodStringFormat","$ZodGUIDDef","$ZodGUIDInternals","$ZodGUID","$ZodUUIDDef","$ZodUUIDInternals","$ZodUUID","$ZodEmailDef","$ZodEmailInternals","$ZodEmail","$ZodURLDef","hostname","protocol","normalize","$ZodURLInternals","$ZodURL","$ZodEmojiDef","$ZodEmojiInternals","$ZodEmoji","$ZodNanoIDDef","$ZodNanoIDInternals","$ZodNanoID","$ZodCUIDDef","$ZodCUIDInternals","$ZodCUID","$ZodCUID2Def","$ZodCUID2Internals","$ZodCUID2","$ZodULIDDef","$ZodULIDInternals","$ZodULID","$ZodXIDDef","$ZodXIDInternals","$ZodXID","$ZodKSUIDDef","$ZodKSUIDInternals","$ZodKSUID","$ZodISODateTimeDef","precision","offset","local","$ZodISODateTimeInternals","$ZodISODateTime","$ZodISODateDef","$ZodISODateInternals","$ZodISODate","$ZodISOTimeDef","$ZodISOTimeInternals","$ZodISOTime","$ZodISODurationDef","$ZodISODurationInternals","$ZodISODuration","$ZodIPv4Def","$ZodIPv4Internals","$ZodIPv4","$ZodIPv6Def","$ZodIPv6Internals","$ZodIPv6","$ZodMACDef","delimiter","$ZodMACInternals","$ZodMAC","$ZodCIDRv4Def","$ZodCIDRv4Internals","$ZodCIDRv4","$ZodCIDRv6Def","$ZodCIDRv6Internals","$ZodCIDRv6","isValidBase64","data","$ZodBase64Def","$ZodBase64Internals","$ZodBase64","isValidBase64URL","$ZodBase64URLDef","$ZodBase64URLInternals","$ZodBase64URL","$ZodE164Def","$ZodE164Internals","$ZodE164","isValidJWT","JWTAlgorithm","token","algorithm","$ZodJWTDef","alg","$ZodJWTInternals","$ZodJWT","$ZodCustomStringFormatDef","fn","val","$ZodCustomStringFormatInternals","$ZodCustomStringFormat","$ZodNumberDef","$ZodNumberInternals","exclusiveMinimum","exclusiveMaximum","$ZodNumber","$ZodNumberFormatDef","$ZodCheckNumberFormatDef","$ZodNumberFormatInternals","$ZodCheckNumberFormatInternals","$ZodNumberFormat","$ZodBooleanDef","$ZodBooleanInternals","$ZodBoolean","$ZodBigIntDef","$ZodBigIntInternals","$ZodBigInt","$ZodBigIntFormatDef","$ZodCheckBigIntFormatDef","check","$ZodBigIntFormatInternals","$ZodCheckBigIntFormatInternals","$ZodBigIntFormat","$ZodSymbolDef","$ZodSymbolInternals","$ZodSymbol","$ZodUndefinedDef","$ZodUndefinedInternals","$ZodUndefined","$ZodNullDef","$ZodNullInternals","$ZodNull","$ZodAnyDef","$ZodAnyInternals","$ZodAny","$ZodUnknownDef","$ZodUnknownInternals","$ZodUnknown","$ZodNeverDef","$ZodNeverInternals","$ZodNever","$ZodVoidDef","$ZodVoidInternals","$ZodVoid","$ZodDateDef","$ZodDateInternals","Date","$ZodDate","$ZodArrayDef","element","$ZodArrayInternals","$ZodArray","OptionalOutSchema","OptionalInSchema","$InferObjectOutput","Extra","$ZodLooseShape","IsAny","k","Prettify","$InferObjectInput","$ZodObjectConfig","out","in","$loose","$strict","$strip","$catchall","$ZodShape","Readonly","$ZodObjectDef","Shape","shape","catchall","$ZodObjectInternals","Config","$ZodIssueUnrecognizedKeys","config","$ZodObject","Params","$ZodObjectJIT","$InferUnionOutput","$InferUnionInput","$ZodUnionDef","Options","options","inclusive","IsOptionalIn","IsOptionalOut","$ZodUnionInternals","$ZodIssueInvalidUnion","$ZodUnion","$ZodXorInternals","$ZodXor","$ZodDiscriminatedUnionDef","Disc","discriminator","unionFallback","$ZodDiscriminatedUnionInternals","$ZodDiscriminatedUnion","$ZodIntersectionDef","Left","Right","left","right","$ZodIntersectionInternals","A","B","$ZodIntersection","$ZodTupleDef","Rest","TupleItems","items","rest","$InferTupleInputType","TupleInputTypeWithOptionals","TupleInputTypeNoOptionals","Tail","Prefix","$InferTupleOutputType","TupleOutputTypeWithOptionals","TupleOutputTypeNoOptionals","$ZodTupleInternals","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodTuple","$ZodRecordKey","$ZodRecordDef","Key","Value","keyType","valueType","mode","$InferZodRecordOutput","$partial","Partial","$InferZodRecordInput","PropertyKey","$ZodRecordInternals","$ZodIssueInvalidKey","$ZodRecord","$ZodMapDef","$ZodMapInternals","Map","$ZodIssueInvalidElement","$ZodMap","$ZodSetDef","$ZodSetInternals","$ZodSet","$InferEnumOutput","EnumLike","$InferEnumInput","$ZodEnumDef","entries","$ZodEnumInternals","$ZodIssueInvalidValue","$ZodEnum","$ZodLiteralDef","Literal","$ZodLiteralInternals","$ZodLiteral","_File","globalThis","F","InstanceType","File","args","size","$ZodFileDef","$ZodFileInternals","MimeTypes","mime","$ZodFile","$ZodTransformDef","transform","$ZodTransformInternals","$ZodTransform","$ZodOptionalDef","innerType","$ZodOptionalInternals","$ZodOptional","$ZodExactOptionalDef","$ZodExactOptionalInternals","$ZodExactOptional","$ZodNullableDef","$ZodNullableInternals","$ZodNullable","$ZodDefaultDef","NoUndefined","defaultValue","$ZodDefaultInternals","$ZodDefault","$ZodPrefaultDef","$ZodPrefaultInternals","$ZodPrefault","$ZodNonOptionalDef","$ZodNonOptionalInternals","$ZodNonOptional","$ZodSuccessDef","$ZodSuccessInternals","$ZodSuccess","$ZodCatchCtx","$ZodIssue","$ZodCatchDef","catchValue","$ZodCatchInternals","$ZodCatch","$ZodNaNDef","$ZodNaNInternals","$ZodNaN","$ZodPipeDef","reverseTransform","$ZodPipeInternals","$ZodPipe","$ZodCodecDef","$ZodCodecInternals","$ZodCodec","$ZodReadonlyDef","$ZodReadonlyInternals","MakeReadonly","$ZodReadonly","$ZodTemplateLiteralDef","$ZodTemplateLiteralPart","parts","$ZodTemplateLiteralInternals","Template","$ZodTemplateLiteral","LiteralPart","Exclude","SchemaPartInternals","SchemaPart","UndefinedToEmptyString","AppendToTemplateLiteral","Suffix","ConcatenateTupleOfStrings","First","ConvertPartsToStringTuple","Parts","K","ToTemplateLiteral","$PartsToTemplateLiteral","Last","$ZodFunctionArgs","$ZodFunctionIn","$ZodFunctionOut","$InferInnerFunctionType","Args","Returns","$InferInnerFunctionTypeAsync","$InferOuterFunctionType","$InferOuterFunctionTypeAsync","Promise","$ZodFunctionDef","In","Out","$ZodFunctionInternals","$ZodFunction","Items","NewArgs","NewReturns","Parameters","ReturnType","_def","_input","_output","implement","func","implementAsync","$ZodFunctionParams","$ZodPromiseDef","$ZodPromiseInternals","$ZodPromise","$ZodLazyDef","getter","$ZodLazyInternals","$ZodLazy","$ZodCustomDef","$ZodCheckDef","path","arg","$ZodCustomInternals","Class","$ZodCheckInternals","issc","$ZodCustom","$ZodTypes","$ZodStringFormatTypes","HashFormat"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;UAQiBS,YAAAA,WAAuBP,aAAAA;;WAE3BW,KAAAA,GAAQX,YAAAA,CAAoBQ,CAAAA;EAFZ;EAAA,SAIhBI,WAAAA;EAJ2BZ;EAAAA,SAM3Ba,OAAAA;AAAAA;;UAGIC,oBAAAA,WAA+Bd,aAAAA,kBAAsCO,YAAAA,CAAaC,CAAAA;EAAAA,SACtFO,KAAAA;EAAAA,SACAC,SAAAA;EAAAA,SACAC,UAAAA;AAAAA;AAAAA,UAEIC,YAAAA;EACbE,KAAAA,EAAOZ,CAAAA;EACPa,MAAAA,EAAQrB,YAAAA;EAZCY;EAcTU,OAAAA;AAAAA;AAAAA,UAGaI,WAAAA;EACbE,IAAAA;EACAjB,KAAAA,GAAQX,YAAAA;EACRF,MAAAA,GAASA,SAAAA;AAAAA;AAAAA,UAEI+B,kBAAAA;EAjBiF;EAmB9FvB,OAAAA,SAAgBA,OAAAA;EAnBkBE;EAqBlC8B,GAAAA,EAAKZ,WAAAA;EArB8CjB;EAA+BF;EAwBlFgC,QAAAA,EAAUlC,OAAAA;EAvBDU;EAyBTyB,GAAAA,CAAIC,OAAAA,EAASvB,YAAAA,OAAmBwB,GAAAA,EAAK5B,oBAAAA,GAAuBT,UAAAA,CAAgBa,YAAAA;EAvBnED;EAyBT0B,KAAAA,CAAMF,OAAAA,EAASvB,YAAAA,OAAmBwB,GAAAA,EAAK5B,oBAAAA,GAAuBT,UAAAA,CAAgBa,YAAAA;EAzB3D;EA2BnB0B,MAAAA,EAAQb,GAAAA;EAzBiB;;;EAACvB;EA8B1BqC,KAAAA;EA7BOrC;EA+BPsC,MAAAA;EA9BQ9C;;;;;AAKZ;EAgCI+C,MAAAA,GAAS1C,YAAAA;;EA7BgB;EAgCzB2C,UAAAA,GAAa3C,UAAAA;EAjCbM;EAmCAsC,OAAAA,EAASf,MAAAA;EAnCMxB;EAqCfwC,MAAAA,OAAaZ,GAAAA,UAAaH,QAAAA;EApCjBrC;EAsCTqD,GAAAA,EAAKf,MAAAA;EAtCoB;EAwCzBgB,IAAAA,EAAMpD,aAAAA;EAtCO6B;EAwCbwB,iBAAAA,KAAsBX,GAAAA,EAAKtC,mBAAAA,EAAqBkD,IAAAA,EAAMrD,UAAAA,EAAuBsD,MAAAA,EAAQpD,aAAAA;;EAErFqD,YAAAA;EAtCK9B;EAwCL+B,MAAAA,GAAStB,QAAAA;AAAAA;;UAGIuB,iBAAAA,2CAA4D7B,kBAAAA;EAtCbxB;EAwC5DwD,MAAAA,EAAQF,CAAAA;EAtC+B7C;EAwCvCW,KAAAA,EAAOmC,CAAAA;AAAAA;AAAAA,KAECE,kBAAAA,MAAwB5D,gBAAAA,CAAiB6D,KAAAA,CAAMhE,KAAAA,CAAWS,CAAAA,GAAIT,MAAAA,CAAYS,CAAAA;AAAAA,UAIrE2B,QAAAA,6CAAqDuB,iBAAAA,CAAkBC,CAAAA,EAAGC,CAAAA,IAAKF,iBAAAA,CAAkBC,CAAAA,EAAGC,CAAAA;EACjHK,IAAAA,EAAMC,SAAAA;EACN,WAAA,EAAaJ,kBAAAA;AAAAA;AAAAA,cAII3B,QAAAA,EAAUpC,YAAAA,CAAkBoC,QAAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { BaseSchema } from "./json-schema.js";
|
|
2
|
+
import { StandardSchemaV1 } from "./standard-schema.js";
|
|
3
|
+
import { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.js";
|
|
4
|
+
import { AnyFunc, MaybeAsync, PrimitiveSet, PropValues } from "./util.js";
|
|
5
|
+
import { version } from "./versions.js";
|
|
6
|
+
import { $ZodCheck } from "./checks.js";
|
|
7
|
+
import { $ZodErrorMap, $ZodIssueBase, $ZodRawIssue } from "./errors.js";
|
|
8
|
+
import { $constructor, input, output } from "./core.js";
|
|
9
|
+
|
|
10
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts
|
|
11
|
+
interface ParseContext<T extends $ZodIssueBase = never> {
|
|
12
|
+
/** Customize error messages. */
|
|
13
|
+
readonly error?: $ZodErrorMap<T>;
|
|
14
|
+
/** Include the `input` field in issue objects. Default `false`. */
|
|
15
|
+
readonly reportInput?: boolean;
|
|
16
|
+
/** Skip eval-based fast path. Default `false`. */
|
|
17
|
+
readonly jitless?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseContext<T> {
|
|
21
|
+
readonly async?: boolean | undefined;
|
|
22
|
+
readonly direction?: "forward" | "backward";
|
|
23
|
+
readonly skipChecks?: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface ParsePayload<T = unknown> {
|
|
26
|
+
value: T;
|
|
27
|
+
issues: $ZodRawIssue[];
|
|
28
|
+
/** A may to mark a whole payload as aborted. Used in codecs/pipes. */
|
|
29
|
+
aborted?: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface $ZodTypeDef {
|
|
32
|
+
type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "function" | "custom";
|
|
33
|
+
error?: $ZodErrorMap<never> | undefined;
|
|
34
|
+
checks?: $ZodCheck<never>[];
|
|
35
|
+
}
|
|
36
|
+
interface _$ZodTypeInternals {
|
|
37
|
+
/** The `@zod/core` version of this schema */
|
|
38
|
+
version: typeof version;
|
|
39
|
+
/** Schema definition. */
|
|
40
|
+
def: $ZodTypeDef;
|
|
41
|
+
/** @internal Randomly generated ID for this schema. */
|
|
42
|
+
/** @internal List of deferred initializers. */
|
|
43
|
+
deferred: AnyFunc[] | undefined;
|
|
44
|
+
/** @internal Parses input and runs all checks (refinements). */
|
|
45
|
+
run(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
46
|
+
/** @internal Parses input, doesn't run checks. */
|
|
47
|
+
parse(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
48
|
+
/** @internal Stores identifiers for the set of traits implemented by this schema. */
|
|
49
|
+
traits: Set<string>;
|
|
50
|
+
/** @internal Indicates that a schema output type should be considered optional inside objects.
|
|
51
|
+
* @default Required
|
|
52
|
+
*/
|
|
53
|
+
/** @internal */
|
|
54
|
+
optin?: "optional" | undefined;
|
|
55
|
+
/** @internal */
|
|
56
|
+
optout?: "optional" | undefined;
|
|
57
|
+
/** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
|
|
58
|
+
*
|
|
59
|
+
* Defined on: enum, const, literal, null, undefined
|
|
60
|
+
* Passthrough: optional, nullable, branded, default, catch, pipe
|
|
61
|
+
* Todo: unions?
|
|
62
|
+
*/
|
|
63
|
+
values?: PrimitiveSet | undefined;
|
|
64
|
+
/** Default value bubbled up from */
|
|
65
|
+
/** @internal A set of literal discriminators used for the fast path in discriminated unions. */
|
|
66
|
+
propValues?: PropValues | undefined;
|
|
67
|
+
/** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
|
|
68
|
+
pattern: RegExp | undefined;
|
|
69
|
+
/** @internal The constructor function of this schema. */
|
|
70
|
+
constr: new (def: any) => $ZodType;
|
|
71
|
+
/** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
|
|
72
|
+
bag: Record<string, unknown>;
|
|
73
|
+
/** @internal The set of issues this schema might throw during type checking. */
|
|
74
|
+
isst: $ZodIssueBase;
|
|
75
|
+
/** @internal Subject to change, not a public API. */
|
|
76
|
+
processJSONSchema?: ((ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void) | undefined;
|
|
77
|
+
/** An optional method used to override `toJSONSchema` logic. */
|
|
78
|
+
toJSONSchema?: () => unknown;
|
|
79
|
+
/** @internal The parent of this schema. Only set during certain clone operations. */
|
|
80
|
+
parent?: $ZodType | undefined;
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
|
|
84
|
+
/** @internal The inferred output type */
|
|
85
|
+
output: O;
|
|
86
|
+
/** @internal The inferred input type */
|
|
87
|
+
input: I;
|
|
88
|
+
}
|
|
89
|
+
type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
|
|
90
|
+
interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
|
|
91
|
+
_zod: Internals;
|
|
92
|
+
"~standard": $ZodStandardSchema<this>;
|
|
93
|
+
}
|
|
94
|
+
declare const $ZodType: $constructor<$ZodType>;
|
|
95
|
+
//#endregion
|
|
96
|
+
export { $ZodType, $ZodTypeInternals, ParsePayload };
|
|
97
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","names":["checks","core","errors","JSONSchema","StandardSchemaV1","ProcessParams","ToJSONSchemaContext","util","version","ParseContext","T","$ZodIssueBase","$ZodErrorMap","error","reportInput","jitless","ParseContextInternal","async","direction","skipChecks","ParsePayload","$ZodRawIssue","value","issues","aborted","CheckFn","MaybeAsync","input","$ZodTypeDef","$ZodCheck","type","_$ZodTypeInternals","AnyFunc","Set","PrimitiveSet","PropValues","RegExp","$ZodType","Record","BaseSchema","def","deferred","run","payload","ctx","parse","traits","optin","optout","values","propValues","pattern","constr","bag","isst","processJSONSchema","json","params","toJSONSchema","parent","$ZodTypeInternals","O","I","output","$ZodStandardSchema","Props","SomeType","_zod","Internals","_$ZodType","$constructor","clone","$ZodStringDef","coerce","$ZodStringInternals","Input","$ZodIssueInvalidType","LoosePartial","minimum","maximum","patterns","format","contentEncoding","$ZodString","$ZodStringFormatDef","Format","$ZodCheckStringFormatDef","$ZodStringFormatInternals","$ZodCheckStringFormatInternals","$ZodStringFormat","$ZodGUIDDef","$ZodGUIDInternals","$ZodGUID","$ZodUUIDDef","$ZodUUIDInternals","$ZodUUID","$ZodEmailDef","$ZodEmailInternals","$ZodEmail","$ZodURLDef","hostname","protocol","normalize","$ZodURLInternals","$ZodURL","$ZodEmojiDef","$ZodEmojiInternals","$ZodEmoji","$ZodNanoIDDef","$ZodNanoIDInternals","$ZodNanoID","$ZodCUIDDef","$ZodCUIDInternals","$ZodCUID","$ZodCUID2Def","$ZodCUID2Internals","$ZodCUID2","$ZodULIDDef","$ZodULIDInternals","$ZodULID","$ZodXIDDef","$ZodXIDInternals","$ZodXID","$ZodKSUIDDef","$ZodKSUIDInternals","$ZodKSUID","$ZodISODateTimeDef","precision","offset","local","$ZodISODateTimeInternals","$ZodISODateTime","$ZodISODateDef","$ZodISODateInternals","$ZodISODate","$ZodISOTimeDef","$ZodISOTimeInternals","$ZodISOTime","$ZodISODurationDef","$ZodISODurationInternals","$ZodISODuration","$ZodIPv4Def","$ZodIPv4Internals","$ZodIPv4","$ZodIPv6Def","$ZodIPv6Internals","$ZodIPv6","$ZodMACDef","delimiter","$ZodMACInternals","$ZodMAC","$ZodCIDRv4Def","$ZodCIDRv4Internals","$ZodCIDRv4","$ZodCIDRv6Def","$ZodCIDRv6Internals","$ZodCIDRv6","isValidBase64","data","$ZodBase64Def","$ZodBase64Internals","$ZodBase64","isValidBase64URL","$ZodBase64URLDef","$ZodBase64URLInternals","$ZodBase64URL","$ZodE164Def","$ZodE164Internals","$ZodE164","isValidJWT","JWTAlgorithm","token","algorithm","$ZodJWTDef","alg","$ZodJWTInternals","$ZodJWT","$ZodCustomStringFormatDef","fn","val","$ZodCustomStringFormatInternals","$ZodCustomStringFormat","$ZodNumberDef","$ZodNumberInternals","exclusiveMinimum","exclusiveMaximum","$ZodNumber","$ZodNumberFormatDef","$ZodCheckNumberFormatDef","$ZodNumberFormatInternals","$ZodCheckNumberFormatInternals","$ZodNumberFormat","$ZodBooleanDef","$ZodBooleanInternals","$ZodBoolean","$ZodBigIntDef","$ZodBigIntInternals","$ZodBigInt","$ZodBigIntFormatDef","$ZodCheckBigIntFormatDef","check","$ZodBigIntFormatInternals","$ZodCheckBigIntFormatInternals","$ZodBigIntFormat","$ZodSymbolDef","$ZodSymbolInternals","$ZodSymbol","$ZodUndefinedDef","$ZodUndefinedInternals","$ZodUndefined","$ZodNullDef","$ZodNullInternals","$ZodNull","$ZodAnyDef","$ZodAnyInternals","$ZodAny","$ZodUnknownDef","$ZodUnknownInternals","$ZodUnknown","$ZodNeverDef","$ZodNeverInternals","$ZodNever","$ZodVoidDef","$ZodVoidInternals","$ZodVoid","$ZodDateDef","$ZodDateInternals","Date","$ZodDate","$ZodArrayDef","element","$ZodArrayInternals","$ZodArray","OptionalOutSchema","OptionalInSchema","$InferObjectOutput","Extra","$ZodLooseShape","IsAny","k","Prettify","$InferObjectInput","$ZodObjectConfig","out","in","$loose","$strict","$strip","$catchall","$ZodShape","Readonly","$ZodObjectDef","Shape","shape","catchall","$ZodObjectInternals","Config","$ZodIssueUnrecognizedKeys","config","$ZodObject","Params","$ZodObjectJIT","$InferUnionOutput","$InferUnionInput","$ZodUnionDef","Options","options","inclusive","IsOptionalIn","IsOptionalOut","$ZodUnionInternals","$ZodIssueInvalidUnion","$ZodUnion","$ZodXorInternals","$ZodXor","$ZodDiscriminatedUnionDef","Disc","discriminator","unionFallback","$ZodDiscriminatedUnionInternals","$ZodDiscriminatedUnion","$ZodIntersectionDef","Left","Right","left","right","$ZodIntersectionInternals","A","B","$ZodIntersection","$ZodTupleDef","Rest","TupleItems","items","rest","$InferTupleInputType","TupleInputTypeWithOptionals","TupleInputTypeNoOptionals","Tail","Prefix","$InferTupleOutputType","TupleOutputTypeWithOptionals","TupleOutputTypeNoOptionals","$ZodTupleInternals","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodTuple","$ZodRecordKey","$ZodRecordDef","Key","Value","keyType","valueType","mode","$InferZodRecordOutput","$partial","Partial","$InferZodRecordInput","PropertyKey","$ZodRecordInternals","$ZodIssueInvalidKey","$ZodRecord","$ZodMapDef","$ZodMapInternals","Map","$ZodIssueInvalidElement","$ZodMap","$ZodSetDef","$ZodSetInternals","$ZodSet","$InferEnumOutput","EnumLike","$InferEnumInput","$ZodEnumDef","entries","$ZodEnumInternals","$ZodIssueInvalidValue","$ZodEnum","$ZodLiteralDef","Literal","$ZodLiteralInternals","$ZodLiteral","_File","globalThis","F","InstanceType","File","args","size","$ZodFileDef","$ZodFileInternals","MimeTypes","mime","$ZodFile","$ZodTransformDef","transform","$ZodTransformInternals","$ZodTransform","$ZodOptionalDef","innerType","$ZodOptionalInternals","$ZodOptional","$ZodExactOptionalDef","$ZodExactOptionalInternals","$ZodExactOptional","$ZodNullableDef","$ZodNullableInternals","$ZodNullable","$ZodDefaultDef","NoUndefined","defaultValue","$ZodDefaultInternals","$ZodDefault","$ZodPrefaultDef","$ZodPrefaultInternals","$ZodPrefault","$ZodNonOptionalDef","$ZodNonOptionalInternals","$ZodNonOptional","$ZodSuccessDef","$ZodSuccessInternals","$ZodSuccess","$ZodCatchCtx","$ZodIssue","$ZodCatchDef","catchValue","$ZodCatchInternals","$ZodCatch","$ZodNaNDef","$ZodNaNInternals","$ZodNaN","$ZodPipeDef","reverseTransform","$ZodPipeInternals","$ZodPipe","$ZodCodecDef","$ZodCodecInternals","$ZodCodec","$ZodReadonlyDef","$ZodReadonlyInternals","MakeReadonly","$ZodReadonly","$ZodTemplateLiteralDef","$ZodTemplateLiteralPart","parts","$ZodTemplateLiteralInternals","Template","$ZodTemplateLiteral","LiteralPart","Exclude","SchemaPartInternals","SchemaPart","UndefinedToEmptyString","AppendToTemplateLiteral","Suffix","ConcatenateTupleOfStrings","First","ConvertPartsToStringTuple","Parts","K","ToTemplateLiteral","$PartsToTemplateLiteral","Last","$ZodFunctionArgs","$ZodFunctionIn","$ZodFunctionOut","$InferInnerFunctionType","Args","Returns","$InferInnerFunctionTypeAsync","$InferOuterFunctionType","$InferOuterFunctionTypeAsync","Promise","$ZodFunctionDef","In","Out","$ZodFunctionInternals","$ZodFunction","Items","NewArgs","NewReturns","Parameters","ReturnType","_def","_input","_output","implement","func","implementAsync","$ZodFunctionParams","$ZodPromiseDef","$ZodPromiseInternals","$ZodPromise","$ZodLazyDef","getter","$ZodLazyInternals","$ZodLazy","$ZodCustomDef","$ZodCheckDef","path","arg","$ZodCustomInternals","Class","$ZodCheckInternals","issc","$ZodCustom","$ZodTypes","$ZodStringFormatTypes","HashFormat"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/schemas.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;UAQiBS,YAAAA,WAAuBP,aAAAA;;WAE3BW,KAAAA,GAAQX,YAAAA,CAAoBQ,CAAAA;EAFZ;EAAA,SAIhBI,WAAAA;EAJ2BZ;EAAAA,SAM3Ba,OAAAA;AAAAA;;UAGIC,oBAAAA,WAA+Bd,aAAAA,kBAAsCO,YAAAA,CAAaC,CAAAA;EAAAA,SACtFO,KAAAA;EAAAA,SACAC,SAAAA;EAAAA,SACAC,UAAAA;AAAAA;AAAAA,UAEIC,YAAAA;EACbE,KAAAA,EAAOZ,CAAAA;EACPa,MAAAA,EAAQrB,YAAAA;EAZCY;EAcTU,OAAAA;AAAAA;AAAAA,UAGaI,WAAAA;EACbE,IAAAA;EACAjB,KAAAA,GAAQX,YAAAA;EACRF,MAAAA,GAASA,SAAAA;AAAAA;AAAAA,UAEI+B,kBAAAA;EAjBiF;EAmB9FvB,OAAAA,SAAgBA,OAAAA;EAnBkBE;EAqBlC8B,GAAAA,EAAKZ,WAAAA;EArB8CjB;EAA+BF;EAwBlFgC,QAAAA,EAAUlC,OAAAA;EAvBDU;EAyBTyB,GAAAA,CAAIC,OAAAA,EAASvB,YAAAA,OAAmBwB,GAAAA,EAAK5B,oBAAAA,GAAuBT,UAAAA,CAAgBa,YAAAA;EAvBnED;EAyBT0B,KAAAA,CAAMF,OAAAA,EAASvB,YAAAA,OAAmBwB,GAAAA,EAAK5B,oBAAAA,GAAuBT,UAAAA,CAAgBa,YAAAA;EAzB3D;EA2BnB0B,MAAAA,EAAQb,GAAAA;EAzBiB;;;EAACvB;EA8B1BqC,KAAAA;EA7BOrC;EA+BPsC,MAAAA;EA9BQ9C;;;;;AAKZ;EAgCI+C,MAAAA,GAAS1C,YAAAA;;EA7BgB;EAgCzB2C,UAAAA,GAAa3C,UAAAA;EAjCbM;EAmCAsC,OAAAA,EAASf,MAAAA;EAnCMxB;EAqCfwC,MAAAA,OAAaZ,GAAAA,UAAaH,QAAAA;EApCjBrC;EAsCTqD,GAAAA,EAAKf,MAAAA;EAtCoB;EAwCzBgB,IAAAA,EAAMpD,aAAAA;EAtCO6B;EAwCbwB,iBAAAA,KAAsBX,GAAAA,EAAKtC,mBAAAA,EAAqBkD,IAAAA,EAAMrD,UAAAA,EAAuBsD,MAAAA,EAAQpD,aAAAA;;EAErFqD,YAAAA;EAtCK9B;EAwCL+B,MAAAA,GAAStB,QAAAA;AAAAA;;UAGIuB,iBAAAA,2CAA4D7B,kBAAAA;EAtCbxB;EAwC5DwD,MAAAA,EAAQF,CAAAA;EAtC+B7C;EAwCvCW,KAAAA,EAAOmC,CAAAA;AAAAA;AAAAA,KAECE,kBAAAA,MAAwB5D,gBAAAA,CAAiB6D,KAAAA,CAAMhE,KAAAA,CAAWS,CAAAA,GAAIT,MAAAA,CAAYS,CAAAA;AAAAA,UAIrE2B,QAAAA,6CAAqDuB,iBAAAA,CAAkBC,CAAAA,EAAGC,CAAAA,IAAKF,iBAAAA,CAAkBC,CAAAA,EAAGC,CAAAA;EACjHK,IAAAA,EAAMC,SAAAA;EACN,WAAA,EAAaJ,kBAAAA;AAAAA;AAAAA,cAII3B,QAAAA,EAAUpC,YAAAA,CAAkBoC,QAAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts
|
|
2
|
+
/** The Standard interface. */
|
|
3
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
4
|
+
/** The Standard properties. */
|
|
5
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
6
|
+
}
|
|
7
|
+
declare namespace StandardTypedV1 {
|
|
8
|
+
/** The Standard properties interface. */
|
|
9
|
+
interface Props<Input = unknown, Output = Input> {
|
|
10
|
+
/** The version number of the standard. */
|
|
11
|
+
readonly version: 1;
|
|
12
|
+
/** The vendor name of the schema library. */
|
|
13
|
+
readonly vendor: string;
|
|
14
|
+
/** Inferred types associated with the schema. */
|
|
15
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** The Standard types interface. */
|
|
18
|
+
interface Types<Input = unknown, Output = Input> {
|
|
19
|
+
/** The input type of the schema. */
|
|
20
|
+
readonly input: Input;
|
|
21
|
+
/** The output type of the schema. */
|
|
22
|
+
readonly output: Output;
|
|
23
|
+
}
|
|
24
|
+
/** Infers the input type of a Standard. */
|
|
25
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
26
|
+
/** Infers the output type of a Standard. */
|
|
27
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
28
|
+
}
|
|
29
|
+
/** The Standard Schema interface. */
|
|
30
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
31
|
+
/** The Standard Schema properties. */
|
|
32
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
33
|
+
}
|
|
34
|
+
declare namespace StandardSchemaV1 {
|
|
35
|
+
/** The Standard Schema properties interface. */
|
|
36
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
37
|
+
/** Validates unknown input values. */
|
|
38
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
39
|
+
}
|
|
40
|
+
/** The result interface of the validate function. */
|
|
41
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
42
|
+
/** The result interface if validation succeeds. */
|
|
43
|
+
interface SuccessResult<Output> {
|
|
44
|
+
/** The typed output value. */
|
|
45
|
+
readonly value: Output;
|
|
46
|
+
/** The absence of issues indicates success. */
|
|
47
|
+
readonly issues?: undefined;
|
|
48
|
+
}
|
|
49
|
+
interface Options {
|
|
50
|
+
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
51
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
52
|
+
}
|
|
53
|
+
/** The result interface if validation fails. */
|
|
54
|
+
interface FailureResult {
|
|
55
|
+
/** The issues of failed validation. */
|
|
56
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
57
|
+
}
|
|
58
|
+
/** The issue interface of the failure output. */
|
|
59
|
+
interface Issue {
|
|
60
|
+
/** The error message of the issue. */
|
|
61
|
+
readonly message: string;
|
|
62
|
+
/** The path of the issue, if any. */
|
|
63
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
64
|
+
}
|
|
65
|
+
/** The path segment interface of the issue. */
|
|
66
|
+
interface PathSegment {
|
|
67
|
+
/** The key representing a path segment. */
|
|
68
|
+
readonly key: PropertyKey;
|
|
69
|
+
}
|
|
70
|
+
/** The Standard types interface. */
|
|
71
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
72
|
+
/** Infers the input type of a Standard. */
|
|
73
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
74
|
+
/** Infers the output type of a Standard. */
|
|
75
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { StandardSchemaV1 };
|
|
79
|
+
//# sourceMappingURL=standard-schema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standard-schema.d.cts","names":["StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","StandardSchemaWithJSONProps","StandardSchemaWithJSON"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;UACiBA,eAAAA,2BAA0CC,KAAAA;EAA3B;EAAA,SAEnB,WAAA,EAAaD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE9BF,eAAAA;EAF8BE;EAAAA,UAIzCC,KAAAA,2BAAgCF,KAAAA;IAJC;IAAA,SAM9BM,OAAAA;IARgBN;IAAAA,SAUhBO,MAAAA;IAV0CP;IAAAA,SAY1CQ,KAAAA,GAAQJ,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAAAA;EAVIC;EAAAA,UAa5BE,KAAAA,2BAAgCJ,KAAAA;IAbSC;IAAAA,SAetCQ,KAAAA,EAAOT,KAAAA;IAfqC;IAAA,SAiB5CU,MAAAA,EAAQT,MAAAA;EAAAA;EAfeD;EAAAA,KAkB/BW,UAAAA,gBAA0BZ,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;EAVnCH;EAAAA,KAYtBY,WAAAA,gBAA2Bb,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;AAAAA;;UAGlDU,gBAAAA,2BAA2Cb,KAAAA;EARnCC;EAAAA,SAUZ,WAAA,EAAaY,gBAAAA,CAAiBX,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE/BY,gBAAAA;EAPWd;EAAAA,UAStBG,KAAAA,2BAAgCF,KAAAA,UAAeD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;IATnCI;IAAAA,SAWtCmB,QAAAA,GAAWC,KAAAA,WAAgBC,OAAAA,GAAUb,gBAAAA,CAAiBC,OAAAA,iBAAwBC,MAAAA,CAAOd,MAAAA,IAAUe,OAAAA,CAAQD,MAAAA,CAAOd,MAAAA;EAAAA;EA7BjHC;EAAAA,KAgCLa,MAAAA,WAAiBE,aAAAA,CAAchB,MAAAA,IAAUiB,aAAAA;EAhCbjB;EAAAA,UAkCvBgB,aAAAA;IAhCGX;IAAAA,SAkCAmB,KAAAA,EAAOxB,MAAAA;IA9BPO;IAAAA,SAgCAmB,MAAAA;EAAAA;EAAAA,UAEHb,OAAAA;IA/BAV;IAAAA,SAiCGwB,cAAAA,GAAiBT,MAAAA;EAAAA;EAjCYnB;EAAAA,UAoChCkB,aAAAA;IAlCUlB;IAAAA,SAoCP2B,MAAAA,EAAQN,aAAAA,CAAcD,KAAAA;EAAAA;EA/B9BT;EAAAA,UAkCKS,KAAAA;IAlCqBrB;IAAAA,SAoClB8B,OAAAA;IApCiD1B;IAAAA,SAsCjD2B,IAAAA,GAAOT,aAAAA,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EApChBxB;EAAAA,UAuCtBwB,WAAAA;IAvCqDpB;IAAAA,SAyClD4B,GAAAA,EAAKT,WAAAA;EAAAA;EAtCLT;EAAAA,UAyCHT,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAzC9BD;EAAAA,KA4CnDW,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EA1CzBF;EAAAA,KA4C/CW,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts
|
|
2
|
+
/** The Standard interface. */
|
|
3
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
4
|
+
/** The Standard properties. */
|
|
5
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
6
|
+
}
|
|
7
|
+
declare namespace StandardTypedV1 {
|
|
8
|
+
/** The Standard properties interface. */
|
|
9
|
+
interface Props<Input = unknown, Output = Input> {
|
|
10
|
+
/** The version number of the standard. */
|
|
11
|
+
readonly version: 1;
|
|
12
|
+
/** The vendor name of the schema library. */
|
|
13
|
+
readonly vendor: string;
|
|
14
|
+
/** Inferred types associated with the schema. */
|
|
15
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
16
|
+
}
|
|
17
|
+
/** The Standard types interface. */
|
|
18
|
+
interface Types<Input = unknown, Output = Input> {
|
|
19
|
+
/** The input type of the schema. */
|
|
20
|
+
readonly input: Input;
|
|
21
|
+
/** The output type of the schema. */
|
|
22
|
+
readonly output: Output;
|
|
23
|
+
}
|
|
24
|
+
/** Infers the input type of a Standard. */
|
|
25
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
26
|
+
/** Infers the output type of a Standard. */
|
|
27
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
28
|
+
}
|
|
29
|
+
/** The Standard Schema interface. */
|
|
30
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
31
|
+
/** The Standard Schema properties. */
|
|
32
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
33
|
+
}
|
|
34
|
+
declare namespace StandardSchemaV1 {
|
|
35
|
+
/** The Standard Schema properties interface. */
|
|
36
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
37
|
+
/** Validates unknown input values. */
|
|
38
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
39
|
+
}
|
|
40
|
+
/** The result interface of the validate function. */
|
|
41
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
42
|
+
/** The result interface if validation succeeds. */
|
|
43
|
+
interface SuccessResult<Output> {
|
|
44
|
+
/** The typed output value. */
|
|
45
|
+
readonly value: Output;
|
|
46
|
+
/** The absence of issues indicates success. */
|
|
47
|
+
readonly issues?: undefined;
|
|
48
|
+
}
|
|
49
|
+
interface Options {
|
|
50
|
+
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
51
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
52
|
+
}
|
|
53
|
+
/** The result interface if validation fails. */
|
|
54
|
+
interface FailureResult {
|
|
55
|
+
/** The issues of failed validation. */
|
|
56
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
57
|
+
}
|
|
58
|
+
/** The issue interface of the failure output. */
|
|
59
|
+
interface Issue {
|
|
60
|
+
/** The error message of the issue. */
|
|
61
|
+
readonly message: string;
|
|
62
|
+
/** The path of the issue, if any. */
|
|
63
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
64
|
+
}
|
|
65
|
+
/** The path segment interface of the issue. */
|
|
66
|
+
interface PathSegment {
|
|
67
|
+
/** The key representing a path segment. */
|
|
68
|
+
readonly key: PropertyKey;
|
|
69
|
+
}
|
|
70
|
+
/** The Standard types interface. */
|
|
71
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
72
|
+
/** Infers the input type of a Standard. */
|
|
73
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
74
|
+
/** Infers the output type of a Standard. */
|
|
75
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { StandardSchemaV1 };
|
|
79
|
+
//# sourceMappingURL=standard-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standard-schema.d.ts","names":["StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","StandardSchemaWithJSONProps","StandardSchemaWithJSON"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/standard-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;UACiBA,eAAAA,2BAA0CC,KAAAA;EAA3B;EAAA,SAEnB,WAAA,EAAaD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE9BF,eAAAA;EAF8BE;EAAAA,UAIzCC,KAAAA,2BAAgCF,KAAAA;IAJC;IAAA,SAM9BM,OAAAA;IARgBN;IAAAA,SAUhBO,MAAAA;IAV0CP;IAAAA,SAY1CQ,KAAAA,GAAQJ,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAAAA;EAVIC;EAAAA,UAa5BE,KAAAA,2BAAgCJ,KAAAA;IAbSC;IAAAA,SAetCQ,KAAAA,EAAOT,KAAAA;IAfqC;IAAA,SAiB5CU,MAAAA,EAAQT,MAAAA;EAAAA;EAfeD;EAAAA,KAkB/BW,UAAAA,gBAA0BZ,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;EAVnCH;EAAAA,KAYtBY,WAAAA,gBAA2Bb,eAAAA,IAAmBM,WAAAA,CAAYF,MAAAA;AAAAA;;UAGlDU,gBAAAA,2BAA2Cb,KAAAA;EARnCC;EAAAA,SAUZ,WAAA,EAAaY,gBAAAA,CAAiBX,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;AAAAA;AAAAA,kBAE/BY,gBAAAA;EAPWd;EAAAA,UAStBG,KAAAA,2BAAgCF,KAAAA,UAAeD,eAAAA,CAAgBG,KAAAA,CAAMF,KAAAA,EAAOC,MAAAA;IATnCI;IAAAA,SAWtCmB,QAAAA,GAAWC,KAAAA,WAAgBC,OAAAA,GAAUb,gBAAAA,CAAiBC,OAAAA,iBAAwBC,MAAAA,CAAOd,MAAAA,IAAUe,OAAAA,CAAQD,MAAAA,CAAOd,MAAAA;EAAAA;EA7BjHC;EAAAA,KAgCLa,MAAAA,WAAiBE,aAAAA,CAAchB,MAAAA,IAAUiB,aAAAA;EAhCbjB;EAAAA,UAkCvBgB,aAAAA;IAhCGX;IAAAA,SAkCAmB,KAAAA,EAAOxB,MAAAA;IA9BPO;IAAAA,SAgCAmB,MAAAA;EAAAA;EAAAA,UAEHb,OAAAA;IA/BAV;IAAAA,SAiCGwB,cAAAA,GAAiBT,MAAAA;EAAAA;EAjCYnB;EAAAA,UAoChCkB,aAAAA;IAlCUlB;IAAAA,SAoCP2B,MAAAA,EAAQN,aAAAA,CAAcD,KAAAA;EAAAA;EA/B9BT;EAAAA,UAkCKS,KAAAA;IAlCqBrB;IAAAA,SAoClB8B,OAAAA;IApCiD1B;IAAAA,SAsCjD2B,IAAAA,GAAOT,aAAAA,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EApChBxB;EAAAA,UAuCtBwB,WAAAA;IAvCqDpB;IAAAA,SAyClD4B,GAAAA,EAAKT,WAAAA;EAAAA;EAtCLT;EAAAA,UAyCHT,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EAzC9BD;EAAAA,KA4CnDW,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EA1CzBF;EAAAA,KA4C/CW,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BaseSchema } from "./json-schema.cjs";
|
|
2
|
+
import { $ZodRegistry } from "./registries.cjs";
|
|
3
|
+
import { $ZodType } from "./schemas.cjs";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
6
|
+
type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
|
|
7
|
+
interface ProcessParams {
|
|
8
|
+
schemaPath: $ZodType[];
|
|
9
|
+
path: (string | number)[];
|
|
10
|
+
}
|
|
11
|
+
interface Seen {
|
|
12
|
+
/** JSON Schema result for this Zod schema */
|
|
13
|
+
schema: BaseSchema;
|
|
14
|
+
/** A cached version of the schema that doesn't get overwritten during ref resolution */
|
|
15
|
+
def?: BaseSchema;
|
|
16
|
+
defId?: string | undefined;
|
|
17
|
+
/** Number of times this schema was encountered during traversal */
|
|
18
|
+
count: number;
|
|
19
|
+
/** Cycle path */
|
|
20
|
+
cycle?: (string | number)[] | undefined;
|
|
21
|
+
isParent?: boolean | undefined;
|
|
22
|
+
/** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
|
|
23
|
+
ref?: $ZodType | null;
|
|
24
|
+
/** JSON Schema property path for this schema */
|
|
25
|
+
path?: (string | number)[] | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface ToJSONSchemaContext {
|
|
28
|
+
processors: Record<string, Processor>;
|
|
29
|
+
metadataRegistry: $ZodRegistry<Record<string, any>>;
|
|
30
|
+
target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
|
|
31
|
+
unrepresentable: "throw" | "any";
|
|
32
|
+
override: (ctx: {
|
|
33
|
+
zodSchema: $ZodType;
|
|
34
|
+
jsonSchema: BaseSchema;
|
|
35
|
+
path: (string | number)[];
|
|
36
|
+
}) => void;
|
|
37
|
+
io: "input" | "output";
|
|
38
|
+
counter: number;
|
|
39
|
+
seen: Map<$ZodType, Seen>;
|
|
40
|
+
cycles: "ref" | "throw";
|
|
41
|
+
reused: "ref" | "inline";
|
|
42
|
+
external?: {
|
|
43
|
+
registry: $ZodRegistry<{
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
uri?: ((id: string) => string) | undefined;
|
|
47
|
+
defs: Record<string, BaseSchema>;
|
|
48
|
+
} | undefined;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ProcessParams, ToJSONSchemaContext };
|
|
52
|
+
//# sourceMappingURL=to-json-schema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-json-schema.d.cts","names":["core","JSONSchema","$ZodRegistry","schemas","StandardJSONSchemaV1","StandardSchemaWithJSONProps","Processor","T","$ZodType","ToJSONSchemaContext","BaseSchema","ProcessParams","schema","ctx","json","params","JSONSchemaGeneratorParams","Record","$ZodTypes","processors","metadata","target","unrepresentable","override","zodSchema","jsonSchema","path","io","cycles","reused","external","registry","id","uri","defs","ToJSONSchemaParams","Omit","RegistryToJSONSchemaParams","schemaPath","Seen","def","defId","count","cycle","isParent","ref","Map","metadataRegistry","counter","seen","initializeContext","process","_params","extractDefs","finalize","ZodStandardJSONSchemaPayload","ZodStandardSchemaWithJSON","input","output","createToJSONSchemaMethod","StandardJSONSchemaMethodParams","Parameters","createStandardJSONSchemaMethod"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;KAKYM,SAAAA,WAAoBH,QAAAA,GAAmBA,QAAAA,KAAqBS,MAAAA,EAAQL,CAAAA,EAAGM,GAAAA,EAAKJ,mBAAAA,EAAqBK,IAAAA,EAAMb,UAAAA,EAAuBc,MAAAA,EAAQJ,aAAAA;AAAAA,UA8CjIA,aAAAA;EACb2B,UAAAA,EAAYnC,QAAAA;EACZuB,IAAAA;AAAAA;AAAAA,UAEaa,IAAAA;EAKbE;EAHA7B,MAAAA,EAAQX,UAAAA;EAOR0C;EALAH,GAAAA,GAAMvC,UAAAA;EACNwC,KAAAA;EAOMtC;EALNuC,KAAAA;EAOAhB;EALAiB,KAAAA;EACAC,QAAAA;EAManC;EAJboC,GAAAA,GAAM1C,QAAAA;;EAENuB,IAAAA;AAAAA;AAAAA,UAEajB,mBAAAA;EACbU,UAAAA,EAAYF,MAAAA,SAAeX,SAAAA;EAC3ByC,gBAAAA,EAAkB7C,YAAAA,CAAae,MAAAA;EAC/BI,MAAAA;EACAC,eAAAA;EACAC,QAAAA,GAAWV,GAAAA;IACPW,SAAAA,EAAWrB,QAAAA;IACXsB,UAAAA,EAAYxB,UAAAA;IACZyB,IAAAA;EAAAA;EAEJC,EAAAA;EACAqB,OAAAA;EACAC,IAAAA,EAAMH,GAAAA,CAAI3C,QAAAA,EAAkBoC,IAAAA;EAC5BX,MAAAA;EACAC,MAAAA;EACAC,QAAAA;IACIC,QAAAA,EAAU7B,YAAAA;MACN8B,EAAAA;IAAAA;IAEJC,GAAAA,KAAQD,EAAAA;IACRE,IAAAA,EAAMjB,MAAAA,SAAehB,UAAAA;EAAAA;AAAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { BaseSchema } from "./json-schema.js";
|
|
2
|
+
import { $ZodRegistry } from "./registries.js";
|
|
3
|
+
import { $ZodType } from "./schemas.js";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
6
|
+
type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
|
|
7
|
+
interface ProcessParams {
|
|
8
|
+
schemaPath: $ZodType[];
|
|
9
|
+
path: (string | number)[];
|
|
10
|
+
}
|
|
11
|
+
interface Seen {
|
|
12
|
+
/** JSON Schema result for this Zod schema */
|
|
13
|
+
schema: BaseSchema;
|
|
14
|
+
/** A cached version of the schema that doesn't get overwritten during ref resolution */
|
|
15
|
+
def?: BaseSchema;
|
|
16
|
+
defId?: string | undefined;
|
|
17
|
+
/** Number of times this schema was encountered during traversal */
|
|
18
|
+
count: number;
|
|
19
|
+
/** Cycle path */
|
|
20
|
+
cycle?: (string | number)[] | undefined;
|
|
21
|
+
isParent?: boolean | undefined;
|
|
22
|
+
/** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
|
|
23
|
+
ref?: $ZodType | null;
|
|
24
|
+
/** JSON Schema property path for this schema */
|
|
25
|
+
path?: (string | number)[] | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface ToJSONSchemaContext {
|
|
28
|
+
processors: Record<string, Processor>;
|
|
29
|
+
metadataRegistry: $ZodRegistry<Record<string, any>>;
|
|
30
|
+
target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
|
|
31
|
+
unrepresentable: "throw" | "any";
|
|
32
|
+
override: (ctx: {
|
|
33
|
+
zodSchema: $ZodType;
|
|
34
|
+
jsonSchema: BaseSchema;
|
|
35
|
+
path: (string | number)[];
|
|
36
|
+
}) => void;
|
|
37
|
+
io: "input" | "output";
|
|
38
|
+
counter: number;
|
|
39
|
+
seen: Map<$ZodType, Seen>;
|
|
40
|
+
cycles: "ref" | "throw";
|
|
41
|
+
reused: "ref" | "inline";
|
|
42
|
+
external?: {
|
|
43
|
+
registry: $ZodRegistry<{
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
uri?: ((id: string) => string) | undefined;
|
|
47
|
+
defs: Record<string, BaseSchema>;
|
|
48
|
+
} | undefined;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ProcessParams, ToJSONSchemaContext };
|
|
52
|
+
//# sourceMappingURL=to-json-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-json-schema.d.ts","names":["core","JSONSchema","$ZodRegistry","schemas","StandardJSONSchemaV1","StandardSchemaWithJSONProps","Processor","T","$ZodType","ToJSONSchemaContext","BaseSchema","ProcessParams","schema","ctx","json","params","JSONSchemaGeneratorParams","Record","$ZodTypes","processors","metadata","target","unrepresentable","override","zodSchema","jsonSchema","path","io","cycles","reused","external","registry","id","uri","defs","ToJSONSchemaParams","Omit","RegistryToJSONSchemaParams","schemaPath","Seen","def","defId","count","cycle","isParent","ref","Map","metadataRegistry","counter","seen","initializeContext","process","_params","extractDefs","finalize","ZodStandardJSONSchemaPayload","ZodStandardSchemaWithJSON","input","output","createToJSONSchemaMethod","StandardJSONSchemaMethodParams","Parameters","createStandardJSONSchemaMethod"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/to-json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;KAKYM,SAAAA,WAAoBH,QAAAA,GAAmBA,QAAAA,KAAqBS,MAAAA,EAAQL,CAAAA,EAAGM,GAAAA,EAAKJ,mBAAAA,EAAqBK,IAAAA,EAAMb,UAAAA,EAAuBc,MAAAA,EAAQJ,aAAAA;AAAAA,UA8CjIA,aAAAA;EACb2B,UAAAA,EAAYnC,QAAAA;EACZuB,IAAAA;AAAAA;AAAAA,UAEaa,IAAAA;EAKbE;EAHA7B,MAAAA,EAAQX,UAAAA;EAOR0C;EALAH,GAAAA,GAAMvC,UAAAA;EACNwC,KAAAA;EAOMtC;EALNuC,KAAAA;EAOAhB;EALAiB,KAAAA;EACAC,QAAAA;EAManC;EAJboC,GAAAA,GAAM1C,QAAAA;;EAENuB,IAAAA;AAAAA;AAAAA,UAEajB,mBAAAA;EACbU,UAAAA,EAAYF,MAAAA,SAAeX,SAAAA;EAC3ByC,gBAAAA,EAAkB7C,YAAAA,CAAae,MAAAA;EAC/BI,MAAAA;EACAC,eAAAA;EACAC,QAAAA,GAAWV,GAAAA;IACPW,SAAAA,EAAWrB,QAAAA;IACXsB,UAAAA,EAAYxB,UAAAA;IACZyB,IAAAA;EAAAA;EAEJC,EAAAA;EACAqB,OAAAA;EACAC,IAAAA,EAAMH,GAAAA,CAAI3C,QAAAA,EAAkBoC,IAAAA;EAC5BX,MAAAA;EACAC,MAAAA;EACAC,QAAAA;IACIC,QAAAA,EAAU7B,YAAAA;MACN8B,EAAAA;IAAAA;IAEJC,GAAAA,KAAQD,EAAAA;IACRE,IAAAA,EAAMjB,MAAAA,SAAehB,UAAAA;EAAAA;AAAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts
|
|
2
|
+
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
3
|
+
type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;
|
|
4
|
+
type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
|
|
5
|
+
type Identity<T> = T;
|
|
6
|
+
type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
|
|
7
|
+
type AnyFunc = (...args: any[]) => any;
|
|
8
|
+
type MaybeAsync<T> = T | Promise<T>;
|
|
9
|
+
type Primitive = string | number | symbol | bigint | boolean | null | undefined;
|
|
10
|
+
type PropValues = Record<string, Set<Primitive>>;
|
|
11
|
+
type PrimitiveSet = Set<Primitive>;
|
|
12
|
+
declare abstract class Class {
|
|
13
|
+
constructor(..._args: any[]);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { AnyFunc, Class, Flatten, MakePartial, MaybeAsync, Primitive, PrimitiveSet, PropValues };
|
|
17
|
+
//# sourceMappingURL=util.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.cts","names":["checks","$ZodConfig","errors","schemas","JSONType","key","JWTAlgorithm","HashAlgorithm","HashEncoding","HashFormat","IPVersion","MimeTypes","ParsedTypes","AssertEqual","V","T","U","AssertNotEqual","AssertExtends","IsAny","Omit","K","Exclude","Pick","OmitKeys","MakePartial","InexactPartial","MakeRequired","Required","Exactly","X","Record","NoUndefined","Whatever","LoosePartial","k","Mask","Keys","PropertyKey","Writeable","P","EmptyObject","BuiltIn","Symbol","toStringTag","Date","Error","Generator","Promise","RegExp","args","MakeReadonly","Map","ReadonlyMap","Set","ReadonlySet","Head","Tail","Array","ReadonlyArray","Readonly","SomeObject","Identity","Flatten","Mapped","Prettify","NoNeverKeys","NoNever","Extend","A","B","TupleItems","SomeType","AnyFunc","IsProp","MaybeAsync","KeyOf","OmitIndexSignature","ExtractIndexSignature","SchemaClass","def","EnumValue","EnumLike","ToEnum","KeysEnum","KeysArray","Literal","LiteralArray","Primitive","PrimitiveArray","HasSize","size","HasLength","length","Numeric","SafeParseResult","SafeParseSuccess","SafeParseError","success","data","error","$ZodError","PropValues","PrimitiveSet","assertEqual","val","assertNotEqual","assertIs","_arg","assertNever","_x","assert","_","getEnumValues","entries","joinValues","array","separator","jsonStringifyReplacer","value","cached","getter","nullish","input","cleanRegex","source","floatSafeRemainder","step","defineLazy","object","objectClone","obj","assignProp","target","prop","mergeDefs","defs","cloneDef","$ZodType","schema","getElementAtPath","path","promiseAllObject","Awaited","promisesObj","randomString","esc","str","slugify","captureStackTrace","Function","targetObject","constructorOpt","isObject","allowsEval","isPlainObject","o","shallowClone","numKeys","getParsedType","propertyKeyTypes","primitiveTypes","escapeRegex","clone","inst","parent","params","EmptyToNever","Normalize","normalizeParams","_params","createTransparentProxy","stringifyPrimitive","optionalKeys","$ZodShape","shape","CleanKey","ToCleanMap","$ZodLooseShape","FromCleanMap","NUMBER_FORMAT_RANGES","$ZodNumberFormats","BIGINT_FORMAT_RANGES","$ZodBigIntFormats","pick","$ZodObject","mask","omit","extend","safeExtend","merge","a","b","partial","$ZodOptional","Class","required","$ZodNonOptional","Constructor","Def","aborted","ParsePayload","x","startIndex","prefixIssues","$ZodRawIssue","issues","unwrapMessage","message","finalizeIssue","ParseContextInternal","$ZodIssue","iss","ctx","config","getSizableOrigin","getLengthableOrigin","parsedType","$ZodInvalidTypeExpected","issue","_iss","cleanEnum","base64ToUint8Array","Uint8Array","InstanceType","base64","uint8ArrayToBase64","bytes","base64urlToUint8Array","base64url","uint8ArrayToBase64url","hexToUint8Array","hex","uint8ArrayToHex","constructor","_args"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.5/node_modules/zod/v4/core/util.d.cts"],"x_google_ignoreList":[0],"mappings":";KAkBYoB,IAAAA,oBAAwBL,CAAAA,IAAKQ,IAAAA,CAAKR,CAAAA,EAAGO,OAAAA,OAAcP,CAAAA,EAAGM,CAAAA;AAAAA,KAEtDI,WAAAA,oBAA+BV,CAAAA,IAAKK,IAAAA,CAAKL,CAAAA,EAAGM,CAAAA,IAAKK,cAAAA,CAAeH,IAAAA,CAAKR,CAAAA,EAAGM,CAAAA;AAAAA,KAcxEK,cAAAA,oBACIX,CAAAA,IAAKA,CAAAA,CAAEyB,CAAAA;AAAAA,KAQXsB,QAAAA,MAAc/C,CAAAA;AAAAA,KACdgD,OAAAA,MAAaD,QAAAA,eACT/C,CAAAA,GAAIA,CAAAA,CAAEoB,CAAAA;AAAAA,KAoBVsC,OAAAA,OAAcvB,IAAAA;AAAAA,KAEdyB,UAAAA,MAAgB5D,CAAAA,GAAIiC,OAAAA,CAAQjC,CAAAA;AAAAA,KAqB5ByE,SAAAA;AAAAA,KAoBAc,UAAAA,GAAavE,MAAAA,SAAeuB,GAAAA,CAAIkC,SAAAA;AAAAA,KAChCe,YAAAA,GAAejD,GAAAA,CAAIkC,SAAAA;AAAAA,uBAuFD2G,KAAAA;EAC1BuC,WAAAA,CAAAA,GAAeC,KAAAA;AAAAA"}
|