@langchain/angular 0.1.3 → 0.3.0
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/README.md +275 -16
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/decorate.cjs +9 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/decorate.js +9 -0
- package/dist/context.cjs +94 -0
- package/dist/context.cjs.map +1 -0
- package/dist/context.d.cts +130 -0
- package/dist/context.d.cts.map +1 -0
- package/dist/context.d.ts +130 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +91 -0
- package/dist/context.js.map +1 -0
- package/dist/index.cjs +212 -386
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +317 -16
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +317 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +203 -390
- package/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.cts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.ts +83 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/channels/base.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.cts +42 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.ts +42 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/constants.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/index.d.cts +2 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/index.d.ts +2 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts +109 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts +109 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/meta.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts +31 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/plugin.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts +49 -0
- package/dist/node_modules/.pnpm/@langchain_langgraph@1.2.1_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27._db5dc2b7d473236f1e1bf7d3e1a7ed18/node_modules/@langchain/langgraph/dist/graph/zod/zod-registry.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/ReactAgent.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/ReactAgent.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/index.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/contextEditing.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/contextEditing.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/dynamicSystemPrompt.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/hitl.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/hitl.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/llmToolSelector.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelFallback.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelFallback.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/modelRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/pii.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/pii.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/piiRedaction.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/piiRedaction.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/anthropic/promptCaching.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/provider/openai/moderation.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/summarization.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/summarization.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/todoListMiddleware.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolCallLimit.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolEmulator.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolEmulator.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolRetry.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/toolRetry.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/types.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware/types.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware.d.cts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/middleware.d.ts +1 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/types.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/agents/types.d.ts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/index.d.cts +2 -0
- package/dist/node_modules/.pnpm/langchain@1.2.30_@langchain_core@1.1.31_@opentelemetry_api@1.9.0_openai@6.27.0_ws@8.19._0520fb05d9e85da5f9e061dfe28cdbc8/node_modules/langchain/dist/index.d.ts +2 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.cts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.ts +155 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.cts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.ts +13 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.cts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.ts +63 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.cts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.ts +5 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.cts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.ts +64 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.cts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.ts +106 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.cts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.ts +291 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.ts +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.ts +105 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.ts +70 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.ts +24 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.ts +97 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.ts +79 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.ts +52 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.ts +17 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.ts +9 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.ts.map +1 -0
- package/dist/stream.custom.cjs +54 -137
- package/dist/stream.custom.cjs.map +1 -1
- package/dist/stream.custom.d.cts +45 -0
- package/dist/stream.custom.d.cts.map +1 -0
- package/dist/stream.custom.d.ts +45 -0
- package/dist/stream.custom.d.ts.map +1 -0
- package/dist/stream.custom.js +55 -139
- package/dist/stream.custom.js.map +1 -1
- package/dist/subagent-types.d.cts +15 -0
- package/dist/subagent-types.d.cts.map +1 -0
- package/dist/subagent-types.d.ts +15 -0
- package/dist/subagent-types.d.ts.map +1 -0
- package/package.json +9 -11
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Flatten, MakePartial, Primitive } from "./util.js";
|
|
2
|
+
import { $ZodType } from "./schemas.js";
|
|
3
|
+
import { $ZodCheck, $ZodStringFormats } from "./checks.js";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts
|
|
6
|
+
interface $ZodIssueBase {
|
|
7
|
+
readonly code?: string;
|
|
8
|
+
readonly input?: unknown;
|
|
9
|
+
readonly path: PropertyKey[];
|
|
10
|
+
readonly message: string;
|
|
11
|
+
}
|
|
12
|
+
type $ZodInvalidTypeExpected = "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "undefined" | "null" | "never" | "void" | "date" | "array" | "object" | "tuple" | "record" | "map" | "set" | "file" | "nonoptional" | "nan" | "function" | (string & {});
|
|
13
|
+
interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
|
|
14
|
+
readonly code: "invalid_type";
|
|
15
|
+
readonly expected: $ZodInvalidTypeExpected;
|
|
16
|
+
readonly input?: Input;
|
|
17
|
+
}
|
|
18
|
+
interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
|
|
19
|
+
readonly code: "too_big";
|
|
20
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
21
|
+
readonly maximum: number | bigint;
|
|
22
|
+
readonly inclusive?: boolean;
|
|
23
|
+
readonly exact?: boolean;
|
|
24
|
+
readonly input?: Input;
|
|
25
|
+
}
|
|
26
|
+
interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
|
|
27
|
+
readonly code: "too_small";
|
|
28
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
29
|
+
readonly minimum: number | bigint;
|
|
30
|
+
/** True if the allowable range includes the minimum */
|
|
31
|
+
readonly inclusive?: boolean;
|
|
32
|
+
/** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
|
|
33
|
+
readonly exact?: boolean;
|
|
34
|
+
readonly input?: Input;
|
|
35
|
+
}
|
|
36
|
+
interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
|
|
37
|
+
readonly code: "invalid_format";
|
|
38
|
+
readonly format: $ZodStringFormats | (string & {});
|
|
39
|
+
readonly pattern?: string;
|
|
40
|
+
readonly input?: string;
|
|
41
|
+
}
|
|
42
|
+
interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
|
|
43
|
+
readonly code: "not_multiple_of";
|
|
44
|
+
readonly divisor: number;
|
|
45
|
+
readonly input?: Input;
|
|
46
|
+
}
|
|
47
|
+
interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
|
|
48
|
+
readonly code: "unrecognized_keys";
|
|
49
|
+
readonly keys: string[];
|
|
50
|
+
readonly input?: Record<string, unknown>;
|
|
51
|
+
}
|
|
52
|
+
interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
|
|
53
|
+
readonly code: "invalid_union";
|
|
54
|
+
readonly errors: $ZodIssue[][];
|
|
55
|
+
readonly input?: unknown;
|
|
56
|
+
readonly discriminator?: string | undefined;
|
|
57
|
+
readonly inclusive?: true;
|
|
58
|
+
}
|
|
59
|
+
interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
|
|
60
|
+
readonly code: "invalid_union";
|
|
61
|
+
readonly errors: [];
|
|
62
|
+
readonly input?: unknown;
|
|
63
|
+
readonly discriminator?: string | undefined;
|
|
64
|
+
readonly inclusive: false;
|
|
65
|
+
}
|
|
66
|
+
type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
|
|
67
|
+
interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
|
|
68
|
+
readonly code: "invalid_key";
|
|
69
|
+
readonly origin: "map" | "record";
|
|
70
|
+
readonly issues: $ZodIssue[];
|
|
71
|
+
readonly input?: Input;
|
|
72
|
+
}
|
|
73
|
+
interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
|
|
74
|
+
readonly code: "invalid_element";
|
|
75
|
+
readonly origin: "map" | "set";
|
|
76
|
+
readonly key: unknown;
|
|
77
|
+
readonly issues: $ZodIssue[];
|
|
78
|
+
readonly input?: Input;
|
|
79
|
+
}
|
|
80
|
+
interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
|
|
81
|
+
readonly code: "invalid_value";
|
|
82
|
+
readonly values: Primitive[];
|
|
83
|
+
readonly input?: Input;
|
|
84
|
+
}
|
|
85
|
+
interface $ZodIssueCustom extends $ZodIssueBase {
|
|
86
|
+
readonly code: "custom";
|
|
87
|
+
readonly params?: Record<string, any> | undefined;
|
|
88
|
+
readonly input?: unknown;
|
|
89
|
+
}
|
|
90
|
+
type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
|
|
91
|
+
type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
|
|
92
|
+
type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
93
|
+
/** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
|
|
94
|
+
readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
|
|
95
|
+
readonly continue?: boolean | undefined;
|
|
96
|
+
} & Record<string, unknown>> : never;
|
|
97
|
+
type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
|
|
98
|
+
interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
|
|
99
|
+
(issue: $ZodRawIssue<T>): {
|
|
100
|
+
message: string;
|
|
101
|
+
} | string | undefined | null;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
export { $ZodErrorMap, $ZodIssueBase, $ZodRawIssue };
|
|
105
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","names":["$ZodCheck","$ZodStringFormats","$constructor","$ZodType","StandardSchemaV1","util","$ZodIssueBase","PropertyKey","code","input","path","message","$ZodInvalidTypeExpected","$ZodIssueInvalidType","Input","expected","$ZodIssueTooBig","origin","maximum","inclusive","exact","$ZodIssueTooSmall","minimum","$ZodIssueInvalidStringFormat","format","pattern","$ZodIssueNotMultipleOf","divisor","$ZodIssueUnrecognizedKeys","Record","keys","$ZodIssueInvalidUnionNoMatch","$ZodIssue","errors","discriminator","$ZodIssueInvalidUnionMultipleMatch","$ZodIssueInvalidUnion","$ZodIssueInvalidKey","issues","$ZodIssueInvalidElement","key","$ZodIssueInvalidValue","Primitive","values","$ZodIssueCustom","params","$ZodIssueStringCommonFormats","Exclude","$ZodIssueStringInvalidRegex","$ZodIssueStringInvalidJWT","algorithm","$ZodIssueStringStartsWith","prefix","$ZodIssueStringEndsWith","suffix","$ZodIssueStringIncludes","includes","$ZodStringFormatIssues","$ZodIssueCode","$ZodInternalIssue","T","RawIssue","MakePartial","Flatten","inst","continue","$ZodRawIssue","$ZodErrorMap","issue","$ZodError","Error","type","_zod","output","def","stack","name","$ZodRealError","$ZodFlattenedError","U","_FlattenedError","formErrors","fieldErrors","P","flattenError","error","mapper","_ZodFormattedError","K","$ZodFormattedError","k","_errors","formatError","$ZodErrorTree","Array","items","properties","treeifyError","toDotPath","PathSegment","_path","prettifyError","FailureResult"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts"],"x_google_ignoreList":[0],"mappings":";;;;;UAKiBM,aAAAA;EAAAA,SACJE,IAAAA;EAAAA,SACAC,KAAAA;EAAAA,SACAC,IAAAA,EAAMH,WAAAA;EAAAA,SACNI,OAAAA;AAAAA;AAAAA,KAEDC,uBAAAA;AAAAA,UACKC,oBAAAA,0BAA8CP,aAAAA;EAAAA,SAClDE,IAAAA;EAAAA,SACAO,QAAAA,EAAUH,uBAAAA;EAAAA,SACVH,KAAAA,GAAQ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AAA;AAAAA,UACjEO,YAAAA,WAAuB7D,aAAAA,GAAgB0B,SAAAA;EAAAA,CACnDoC,KAAAA,EAAOF,YAAAA,CAAaN,CAAAA;IACjBjD,OAAAA;EAAAA;AAAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts
|
|
2
|
+
type _JSONSchema = boolean | JSONSchema;
|
|
3
|
+
type JSONSchema = {
|
|
4
|
+
[k: string]: unknown;
|
|
5
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
6
|
+
$id?: string;
|
|
7
|
+
$anchor?: string;
|
|
8
|
+
$ref?: string;
|
|
9
|
+
$dynamicRef?: string;
|
|
10
|
+
$dynamicAnchor?: string;
|
|
11
|
+
$vocabulary?: Record<string, boolean>;
|
|
12
|
+
$comment?: string;
|
|
13
|
+
$defs?: Record<string, JSONSchema>;
|
|
14
|
+
type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
15
|
+
additionalItems?: _JSONSchema;
|
|
16
|
+
unevaluatedItems?: _JSONSchema;
|
|
17
|
+
prefixItems?: _JSONSchema[];
|
|
18
|
+
items?: _JSONSchema | _JSONSchema[];
|
|
19
|
+
contains?: _JSONSchema;
|
|
20
|
+
additionalProperties?: _JSONSchema;
|
|
21
|
+
unevaluatedProperties?: _JSONSchema;
|
|
22
|
+
properties?: Record<string, _JSONSchema>;
|
|
23
|
+
patternProperties?: Record<string, _JSONSchema>;
|
|
24
|
+
dependentSchemas?: Record<string, _JSONSchema>;
|
|
25
|
+
propertyNames?: _JSONSchema;
|
|
26
|
+
if?: _JSONSchema;
|
|
27
|
+
then?: _JSONSchema;
|
|
28
|
+
else?: _JSONSchema;
|
|
29
|
+
allOf?: JSONSchema[];
|
|
30
|
+
anyOf?: JSONSchema[];
|
|
31
|
+
oneOf?: JSONSchema[];
|
|
32
|
+
not?: _JSONSchema;
|
|
33
|
+
multipleOf?: number;
|
|
34
|
+
maximum?: number;
|
|
35
|
+
exclusiveMaximum?: number | boolean;
|
|
36
|
+
minimum?: number;
|
|
37
|
+
exclusiveMinimum?: number | boolean;
|
|
38
|
+
maxLength?: number;
|
|
39
|
+
minLength?: number;
|
|
40
|
+
pattern?: string;
|
|
41
|
+
maxItems?: number;
|
|
42
|
+
minItems?: number;
|
|
43
|
+
uniqueItems?: boolean;
|
|
44
|
+
maxContains?: number;
|
|
45
|
+
minContains?: number;
|
|
46
|
+
maxProperties?: number;
|
|
47
|
+
minProperties?: number;
|
|
48
|
+
required?: string[];
|
|
49
|
+
dependentRequired?: Record<string, string[]>;
|
|
50
|
+
enum?: Array<string | number | boolean | null>;
|
|
51
|
+
const?: string | number | boolean | null;
|
|
52
|
+
id?: string;
|
|
53
|
+
title?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
default?: unknown;
|
|
56
|
+
deprecated?: boolean;
|
|
57
|
+
readOnly?: boolean;
|
|
58
|
+
writeOnly?: boolean;
|
|
59
|
+
nullable?: boolean;
|
|
60
|
+
examples?: unknown[];
|
|
61
|
+
format?: string;
|
|
62
|
+
contentMediaType?: string;
|
|
63
|
+
contentEncoding?: string;
|
|
64
|
+
contentSchema?: JSONSchema;
|
|
65
|
+
_prefault?: unknown;
|
|
66
|
+
};
|
|
67
|
+
type BaseSchema = JSONSchema;
|
|
68
|
+
//#endregion
|
|
69
|
+
export { BaseSchema };
|
|
70
|
+
//# sourceMappingURL=json-schema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-schema.d.cts","names":["Schema","ObjectSchema","ArraySchema","StringSchema","NumberSchema","IntegerSchema","BooleanSchema","NullSchema","_JSONSchema","JSONSchema","Record","Array","k","$schema","$id","$anchor","$ref","$dynamicRef","$dynamicAnchor","$vocabulary","$comment","$defs","type","additionalItems","unevaluatedItems","prefixItems","items","contains","additionalProperties","unevaluatedProperties","properties","patternProperties","dependentSchemas","propertyNames","if","then","else","allOf","anyOf","oneOf","not","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxContains","minContains","maxProperties","minProperties","required","dependentRequired","enum","const","id","title","description","default","deprecated","readOnly","writeOnly","nullable","examples","format","contentMediaType","contentEncoding","contentSchema","_prefault","BaseSchema"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";KACYQ,WAAAA,aAAwBC,UAAAA;AAAAA,KACxBA,UAAAA;EAAAA,CACPG,CAAAA;EACDC,OAAAA;EACAC,GAAAA;EACAC,OAAAA;EACAC,IAAAA;EACAC,WAAAA;EACAC,cAAAA;EACAC,WAAAA,GAAcT,MAAAA;EACdU,QAAAA;EACAC,KAAAA,GAAQX,MAAAA,SAAeD,UAAAA;EACvBa,IAAAA;EACAC,eAAAA,GAAkBf,WAAAA;EAClBgB,gBAAAA,GAAmBhB,WAAAA;EACnBiB,WAAAA,GAAcjB,WAAAA;EACdkB,KAAAA,GAAQlB,WAAAA,GAAcA,WAAAA;EACtBmB,QAAAA,GAAWnB,WAAAA;EACXoB,oBAAAA,GAAuBpB,WAAAA;EACvBqB,qBAAAA,GAAwBrB,WAAAA;EACxBsB,UAAAA,GAAapB,MAAAA,SAAeF,WAAAA;EAC5BuB,iBAAAA,GAAoBrB,MAAAA,SAAeF,WAAAA;EACnCwB,gBAAAA,GAAmBtB,MAAAA,SAAeF,WAAAA;EAClCyB,aAAAA,GAAgBzB,WAAAA;EAChB0B,EAAAA,GAAK1B,WAAAA;EACL2B,IAAAA,GAAO3B,WAAAA;EACP4B,IAAAA,GAAO5B,WAAAA;EACP6B,KAAAA,GAAQ5B,UAAAA;EACR6B,KAAAA,GAAQ7B,UAAAA;EACR8B,KAAAA,GAAQ9B,UAAAA;EACR+B,GAAAA,GAAMhC,WAAAA;EACNiC,UAAAA;EACAC,OAAAA;EACAC,gBAAAA;EACAC,OAAAA;EACAC,gBAAAA;EACAC,SAAAA;EACAC,SAAAA;EACAC,OAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,WAAAA;EACAC,WAAAA;EACAC,WAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,QAAAA;EACAC,iBAAAA,GAAoB/C,MAAAA;EACpBgD,IAAAA,GAAO/C,KAAAA;EACPgD,KAAAA;EACAC,EAAAA;EACAC,KAAAA;EACAC,WAAAA;EACAC,OAAAA;EACAC,UAAAA;EACAC,QAAAA;EACAC,SAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,MAAAA;EACAC,gBAAAA;EACAC,eAAAA;EACAC,aAAAA,GAAgB/D,UAAAA;EAChBgE,SAAAA;AAAAA;AAAAA,KAEQC,UAAAA,GAAajE,UAAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts
|
|
2
|
+
type _JSONSchema = boolean | JSONSchema;
|
|
3
|
+
type JSONSchema = {
|
|
4
|
+
[k: string]: unknown;
|
|
5
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
6
|
+
$id?: string;
|
|
7
|
+
$anchor?: string;
|
|
8
|
+
$ref?: string;
|
|
9
|
+
$dynamicRef?: string;
|
|
10
|
+
$dynamicAnchor?: string;
|
|
11
|
+
$vocabulary?: Record<string, boolean>;
|
|
12
|
+
$comment?: string;
|
|
13
|
+
$defs?: Record<string, JSONSchema>;
|
|
14
|
+
type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
15
|
+
additionalItems?: _JSONSchema;
|
|
16
|
+
unevaluatedItems?: _JSONSchema;
|
|
17
|
+
prefixItems?: _JSONSchema[];
|
|
18
|
+
items?: _JSONSchema | _JSONSchema[];
|
|
19
|
+
contains?: _JSONSchema;
|
|
20
|
+
additionalProperties?: _JSONSchema;
|
|
21
|
+
unevaluatedProperties?: _JSONSchema;
|
|
22
|
+
properties?: Record<string, _JSONSchema>;
|
|
23
|
+
patternProperties?: Record<string, _JSONSchema>;
|
|
24
|
+
dependentSchemas?: Record<string, _JSONSchema>;
|
|
25
|
+
propertyNames?: _JSONSchema;
|
|
26
|
+
if?: _JSONSchema;
|
|
27
|
+
then?: _JSONSchema;
|
|
28
|
+
else?: _JSONSchema;
|
|
29
|
+
allOf?: JSONSchema[];
|
|
30
|
+
anyOf?: JSONSchema[];
|
|
31
|
+
oneOf?: JSONSchema[];
|
|
32
|
+
not?: _JSONSchema;
|
|
33
|
+
multipleOf?: number;
|
|
34
|
+
maximum?: number;
|
|
35
|
+
exclusiveMaximum?: number | boolean;
|
|
36
|
+
minimum?: number;
|
|
37
|
+
exclusiveMinimum?: number | boolean;
|
|
38
|
+
maxLength?: number;
|
|
39
|
+
minLength?: number;
|
|
40
|
+
pattern?: string;
|
|
41
|
+
maxItems?: number;
|
|
42
|
+
minItems?: number;
|
|
43
|
+
uniqueItems?: boolean;
|
|
44
|
+
maxContains?: number;
|
|
45
|
+
minContains?: number;
|
|
46
|
+
maxProperties?: number;
|
|
47
|
+
minProperties?: number;
|
|
48
|
+
required?: string[];
|
|
49
|
+
dependentRequired?: Record<string, string[]>;
|
|
50
|
+
enum?: Array<string | number | boolean | null>;
|
|
51
|
+
const?: string | number | boolean | null;
|
|
52
|
+
id?: string;
|
|
53
|
+
title?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
default?: unknown;
|
|
56
|
+
deprecated?: boolean;
|
|
57
|
+
readOnly?: boolean;
|
|
58
|
+
writeOnly?: boolean;
|
|
59
|
+
nullable?: boolean;
|
|
60
|
+
examples?: unknown[];
|
|
61
|
+
format?: string;
|
|
62
|
+
contentMediaType?: string;
|
|
63
|
+
contentEncoding?: string;
|
|
64
|
+
contentSchema?: JSONSchema;
|
|
65
|
+
_prefault?: unknown;
|
|
66
|
+
};
|
|
67
|
+
type BaseSchema = JSONSchema;
|
|
68
|
+
//#endregion
|
|
69
|
+
export { BaseSchema };
|
|
70
|
+
//# sourceMappingURL=json-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-schema.d.ts","names":["Schema","ObjectSchema","ArraySchema","StringSchema","NumberSchema","IntegerSchema","BooleanSchema","NullSchema","_JSONSchema","JSONSchema","Record","Array","k","$schema","$id","$anchor","$ref","$dynamicRef","$dynamicAnchor","$vocabulary","$comment","$defs","type","additionalItems","unevaluatedItems","prefixItems","items","contains","additionalProperties","unevaluatedProperties","properties","patternProperties","dependentSchemas","propertyNames","if","then","else","allOf","anyOf","oneOf","not","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxContains","minContains","maxProperties","minProperties","required","dependentRequired","enum","const","id","title","description","default","deprecated","readOnly","writeOnly","nullable","examples","format","contentMediaType","contentEncoding","contentSchema","_prefault","BaseSchema"],"sources":["../../../../../../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts"],"x_google_ignoreList":[0],"mappings":";KACYQ,WAAAA,aAAwBC,UAAAA;AAAAA,KACxBA,UAAAA;EAAAA,CACPG,CAAAA;EACDC,OAAAA;EACAC,GAAAA;EACAC,OAAAA;EACAC,IAAAA;EACAC,WAAAA;EACAC,cAAAA;EACAC,WAAAA,GAAcT,MAAAA;EACdU,QAAAA;EACAC,KAAAA,GAAQX,MAAAA,SAAeD,UAAAA;EACvBa,IAAAA;EACAC,eAAAA,GAAkBf,WAAAA;EAClBgB,gBAAAA,GAAmBhB,WAAAA;EACnBiB,WAAAA,GAAcjB,WAAAA;EACdkB,KAAAA,GAAQlB,WAAAA,GAAcA,WAAAA;EACtBmB,QAAAA,GAAWnB,WAAAA;EACXoB,oBAAAA,GAAuBpB,WAAAA;EACvBqB,qBAAAA,GAAwBrB,WAAAA;EACxBsB,UAAAA,GAAapB,MAAAA,SAAeF,WAAAA;EAC5BuB,iBAAAA,GAAoBrB,MAAAA,SAAeF,WAAAA;EACnCwB,gBAAAA,GAAmBtB,MAAAA,SAAeF,WAAAA;EAClCyB,aAAAA,GAAgBzB,WAAAA;EAChB0B,EAAAA,GAAK1B,WAAAA;EACL2B,IAAAA,GAAO3B,WAAAA;EACP4B,IAAAA,GAAO5B,WAAAA;EACP6B,KAAAA,GAAQ5B,UAAAA;EACR6B,KAAAA,GAAQ7B,UAAAA;EACR8B,KAAAA,GAAQ9B,UAAAA;EACR+B,GAAAA,GAAMhC,WAAAA;EACNiC,UAAAA;EACAC,OAAAA;EACAC,gBAAAA;EACAC,OAAAA;EACAC,gBAAAA;EACAC,SAAAA;EACAC,SAAAA;EACAC,OAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,WAAAA;EACAC,WAAAA;EACAC,WAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,QAAAA;EACAC,iBAAAA,GAAoB/C,MAAAA;EACpBgD,IAAAA,GAAO/C,KAAAA;EACPgD,KAAAA;EACAC,EAAAA;EACAC,KAAAA;EACAC,WAAAA;EACAC,OAAAA;EACAC,UAAAA;EACAC,QAAAA;EACAC,SAAAA;EACAC,QAAAA;EACAC,QAAAA;EACAC,MAAAA;EACAC,gBAAAA;EACAC,eAAAA;EACAC,aAAAA,GAAgB/D,UAAAA;EAChBgE,SAAAA;AAAAA;AAAAA,KAEQC,UAAAA,GAAajE,UAAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { $ZodType } from "./schemas.cjs";
|
|
2
|
+
import { input, output } from "./core.cjs";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/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.cts.map
|
|
@@ -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.6/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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#region ../../node_modules/.pnpm/zod@4.3.6/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.6/node_modules/zod/v4/core/registries.d.cts"],"x_google_ignoreList":[0],"mapp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AMC,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.6/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.6/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,kB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9B;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.6/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.6/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;E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