@langchain/core 1.0.5 → 1.1.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/CHANGELOG.md +18 -0
- package/agents.cjs +1 -0
- package/agents.d.cts +1 -0
- package/agents.d.ts +1 -0
- package/agents.js +1 -0
- package/caches.cjs +1 -0
- package/caches.d.cts +1 -0
- package/caches.d.ts +1 -0
- package/caches.js +1 -0
- package/callbacks/base.cjs +1 -0
- package/callbacks/base.d.cts +1 -0
- package/callbacks/base.d.ts +1 -0
- package/callbacks/base.js +1 -0
- package/callbacks/dispatch/web.cjs +1 -0
- package/callbacks/dispatch/web.d.cts +1 -0
- package/callbacks/dispatch/web.d.ts +1 -0
- package/callbacks/dispatch/web.js +1 -0
- package/callbacks/dispatch.cjs +1 -0
- package/callbacks/dispatch.d.cts +1 -0
- package/callbacks/dispatch.d.ts +1 -0
- package/callbacks/dispatch.js +1 -0
- package/callbacks/manager.cjs +1 -0
- package/callbacks/manager.d.cts +1 -0
- package/callbacks/manager.d.ts +1 -0
- package/callbacks/manager.js +1 -0
- package/callbacks/promises.cjs +1 -0
- package/callbacks/promises.d.cts +1 -0
- package/callbacks/promises.d.ts +1 -0
- package/callbacks/promises.js +1 -0
- package/chat_history.cjs +1 -0
- package/chat_history.d.cts +1 -0
- package/chat_history.d.ts +1 -0
- package/chat_history.js +1 -0
- package/context.cjs +1 -0
- package/context.d.cts +1 -0
- package/context.d.ts +1 -0
- package/context.js +1 -0
- package/dist/caches/{base.cjs → index.cjs} +6 -6
- package/dist/caches/index.cjs.map +1 -0
- package/dist/caches/{base.d.cts → index.d.cts} +2 -2
- package/dist/caches/{base.d.ts → index.d.ts} +2 -2
- package/dist/caches/{base.js → index.js} +5 -5
- package/dist/caches/index.js.map +1 -0
- package/dist/callbacks/dispatch/index.d.ts +1 -0
- package/dist/callbacks/dispatch/web.d.ts +1 -0
- package/dist/chat_history.d.ts +1 -0
- package/dist/language_models/base.cjs +2 -2
- package/dist/language_models/base.cjs.map +1 -1
- package/dist/language_models/base.d.cts +1 -1
- package/dist/language_models/base.d.ts +3 -1
- package/dist/language_models/base.js +1 -1
- package/dist/language_models/base.js.map +1 -1
- package/dist/language_models/chat_models.cjs.map +1 -1
- package/dist/language_models/chat_models.d.cts +1 -1
- package/dist/language_models/chat_models.d.ts +4 -1
- package/dist/language_models/chat_models.js.map +1 -1
- package/dist/language_models/llms.cjs.map +1 -1
- package/dist/language_models/llms.d.cts +1 -1
- package/dist/language_models/llms.d.ts +2 -1
- package/dist/language_models/llms.js.map +1 -1
- package/dist/load/import_constants.cjs +1 -0
- package/dist/load/import_constants.cjs.map +1 -1
- package/dist/load/import_constants.js +1 -0
- package/dist/load/import_constants.js.map +1 -1
- package/dist/load/import_map.cjs +13 -13
- package/dist/load/import_map.cjs.map +1 -1
- package/dist/load/import_map.js +17 -17
- package/dist/load/import_map.js.map +1 -1
- package/dist/messages/base.cjs +10 -3
- package/dist/messages/base.cjs.map +1 -1
- package/dist/messages/base.js +10 -3
- package/dist/messages/base.js.map +1 -1
- package/dist/messages/message.d.cts +1 -1
- package/dist/messages/message.d.ts +1 -1
- package/dist/messages/system.cjs +25 -1
- package/dist/messages/system.cjs.map +1 -1
- package/dist/messages/system.d.cts +6 -0
- package/dist/messages/system.d.ts +6 -0
- package/dist/messages/system.js +25 -1
- package/dist/messages/system.js.map +1 -1
- package/dist/messages/transformers.d.cts +2 -1
- package/dist/messages/transformers.d.ts +2 -1
- package/dist/messages/utils.d.cts +8 -8
- package/dist/messages/utils.d.ts +8 -8
- package/dist/output_parsers/base.d.ts +3 -0
- package/dist/output_parsers/index.cjs +1 -1
- package/dist/output_parsers/index.js +1 -1
- package/dist/output_parsers/list.d.ts +1 -0
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts +1 -1
- package/dist/output_parsers/string.d.ts +1 -0
- package/dist/prompts/base.d.ts +1 -0
- package/dist/prompts/chat.d.ts +1 -0
- package/dist/prompts/few_shot.d.ts +1 -0
- package/dist/prompts/image.d.ts +1 -0
- package/dist/prompts/prompt.d.ts +1 -0
- package/dist/prompts/serde.d.ts +1 -0
- package/dist/prompts/structured.d.ts +1 -1
- package/dist/prompts/template.d.ts +1 -1
- package/dist/retrievers/document_compressors/{base.cjs → index.cjs} +6 -6
- package/dist/retrievers/document_compressors/index.cjs.map +1 -0
- package/dist/retrievers/document_compressors/{base.d.cts → index.d.cts} +2 -2
- package/dist/retrievers/document_compressors/{base.d.ts → index.d.ts} +2 -2
- package/dist/retrievers/document_compressors/index.js +17 -0
- package/dist/retrievers/document_compressors/index.js.map +1 -0
- package/dist/retrievers/index.d.ts +1 -0
- package/dist/runnables/base.cjs +2 -2
- package/dist/runnables/base.cjs.map +1 -1
- package/dist/runnables/base.d.cts +0 -17
- package/dist/runnables/base.d.ts +0 -17
- package/dist/runnables/base.js +2 -2
- package/dist/runnables/base.js.map +1 -1
- package/dist/runnables/branch.d.ts +1 -0
- package/dist/runnables/config.cjs +5 -3
- package/dist/runnables/config.cjs.map +1 -1
- package/dist/runnables/config.js +5 -3
- package/dist/runnables/config.js.map +1 -1
- package/dist/runnables/history.d.ts +2 -0
- package/dist/runnables/index.cjs +4 -1
- package/dist/runnables/index.cjs.map +1 -1
- package/dist/runnables/index.d.cts +2 -1
- package/dist/runnables/index.d.ts +2 -1
- package/dist/runnables/index.js +4 -2
- package/dist/runnables/index.js.map +1 -1
- package/dist/runnables/passthrough.d.ts +1 -0
- package/dist/runnables/router.d.ts +1 -0
- package/dist/tools/index.cjs +1 -1
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/types.d.cts +0 -13
- package/dist/tools/types.d.ts +2 -13
- package/dist/tracers/event_stream.d.ts +1 -0
- package/dist/utils/async_caller.cjs +1 -1
- package/dist/utils/async_caller.cjs.map +1 -1
- package/dist/utils/async_caller.js +1 -1
- package/dist/utils/async_caller.js.map +1 -1
- package/dist/utils/fast-json-patch/src/core.d.cts +0 -18
- package/dist/utils/fast-json-patch/src/core.d.ts +0 -18
- package/dist/utils/json_schema.d.cts +0 -5
- package/dist/utils/json_schema.d.ts +1 -5
- package/dist/utils/signal.d.cts +13 -0
- package/dist/utils/signal.d.ts +13 -0
- package/dist/utils/testing/chat_models.d.ts +1 -0
- package/dist/utils/testing/message_history.d.ts +1 -0
- package/dist/utils/types/index.cjs +2 -0
- package/dist/utils/types/index.d.cts +2 -2
- package/dist/utils/types/index.d.ts +2 -2
- package/dist/utils/types/index.js +3 -2
- package/dist/utils/types/zod.cjs +4 -0
- package/dist/utils/types/zod.cjs.map +1 -1
- package/dist/utils/types/zod.d.cts +3 -2
- package/dist/utils/types/zod.d.ts +3 -2
- package/dist/utils/types/zod.js +4 -1
- package/dist/utils/types/zod.js.map +1 -1
- package/dist/utils/zod-to-json-schema/Options.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/Refs.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/errorMessages.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/index.d.ts +37 -0
- package/dist/utils/zod-to-json-schema/parseDef.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/any.d.ts +2 -0
- package/dist/utils/zod-to-json-schema/parsers/array.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/branded.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/catch.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/date.d.ts +2 -0
- package/dist/utils/zod-to-json-schema/parsers/default.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/effects.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/literal.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/map.d.ts +2 -0
- package/dist/utils/zod-to-json-schema/parsers/never.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/null.d.ts +2 -0
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/number.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/object.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/optional.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/pipeline.d.ts +4 -0
- package/dist/utils/zod-to-json-schema/parsers/promise.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/readonly.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/parsers/record.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/set.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/string.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/parsers/union.d.ts +2 -1
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts +1 -0
- package/dist/utils/zod-to-json-schema/selectParser.d.ts +3 -0
- package/dist/utils/zod-to-json-schema/zodToJsonSchema.d.ts +3 -0
- package/document_loaders/base.cjs +1 -0
- package/document_loaders/base.d.cts +1 -0
- package/document_loaders/base.d.ts +1 -0
- package/document_loaders/base.js +1 -0
- package/document_loaders/langsmith.cjs +1 -0
- package/document_loaders/langsmith.d.cts +1 -0
- package/document_loaders/langsmith.d.ts +1 -0
- package/document_loaders/langsmith.js +1 -0
- package/documents.cjs +1 -0
- package/documents.d.cts +1 -0
- package/documents.d.ts +1 -0
- package/documents.js +1 -0
- package/embeddings.cjs +1 -0
- package/embeddings.d.cts +1 -0
- package/embeddings.d.ts +1 -0
- package/embeddings.js +1 -0
- package/example_selectors.cjs +1 -0
- package/example_selectors.d.cts +1 -0
- package/example_selectors.d.ts +1 -0
- package/example_selectors.js +1 -0
- package/indexing.cjs +1 -0
- package/indexing.d.cts +1 -0
- package/indexing.d.ts +1 -0
- package/indexing.js +1 -0
- package/language_models/base.cjs +1 -0
- package/language_models/base.d.cts +1 -0
- package/language_models/base.d.ts +1 -0
- package/language_models/base.js +1 -0
- package/language_models/chat_models.cjs +1 -0
- package/language_models/chat_models.d.cts +1 -0
- package/language_models/chat_models.d.ts +1 -0
- package/language_models/chat_models.js +1 -0
- package/language_models/llms.cjs +1 -0
- package/language_models/llms.d.cts +1 -0
- package/language_models/llms.d.ts +1 -0
- package/language_models/llms.js +1 -0
- package/language_models/profile.cjs +1 -0
- package/language_models/profile.d.cts +1 -0
- package/language_models/profile.d.ts +1 -0
- package/language_models/profile.js +1 -0
- package/load/serializable.cjs +1 -0
- package/load/serializable.d.cts +1 -0
- package/load/serializable.d.ts +1 -0
- package/load/serializable.js +1 -0
- package/load.cjs +1 -0
- package/load.d.cts +1 -0
- package/load.d.ts +1 -0
- package/load.js +1 -0
- package/memory.cjs +1 -0
- package/memory.d.cts +1 -0
- package/memory.d.ts +1 -0
- package/memory.js +1 -0
- package/messages/tool.cjs +1 -0
- package/messages/tool.d.cts +1 -0
- package/messages/tool.d.ts +1 -0
- package/messages/tool.js +1 -0
- package/messages.cjs +1 -0
- package/messages.d.cts +1 -0
- package/messages.d.ts +1 -0
- package/messages.js +1 -0
- package/output_parsers/openai_functions.cjs +1 -0
- package/output_parsers/openai_functions.d.cts +1 -0
- package/output_parsers/openai_functions.d.ts +1 -0
- package/output_parsers/openai_functions.js +1 -0
- package/output_parsers/openai_tools.cjs +1 -0
- package/output_parsers/openai_tools.d.cts +1 -0
- package/output_parsers/openai_tools.d.ts +1 -0
- package/output_parsers/openai_tools.js +1 -0
- package/output_parsers.cjs +1 -0
- package/output_parsers.d.cts +1 -0
- package/output_parsers.d.ts +1 -0
- package/output_parsers.js +1 -0
- package/outputs.cjs +1 -0
- package/outputs.d.cts +1 -0
- package/outputs.d.ts +1 -0
- package/outputs.js +1 -0
- package/package.json +163 -63
- package/prompt_values.cjs +1 -0
- package/prompt_values.d.cts +1 -0
- package/prompt_values.d.ts +1 -0
- package/prompt_values.js +1 -0
- package/prompts.cjs +1 -0
- package/prompts.d.cts +1 -0
- package/prompts.d.ts +1 -0
- package/prompts.js +1 -0
- package/retrievers/document_compressors.cjs +1 -0
- package/retrievers/document_compressors.d.cts +1 -0
- package/retrievers/document_compressors.d.ts +1 -0
- package/retrievers/document_compressors.js +1 -0
- package/retrievers.cjs +1 -0
- package/retrievers.d.cts +1 -0
- package/retrievers.d.ts +1 -0
- package/retrievers.js +1 -0
- package/runnables/graph.cjs +1 -0
- package/runnables/graph.d.cts +1 -0
- package/runnables/graph.d.ts +1 -0
- package/runnables/graph.js +1 -0
- package/runnables.cjs +1 -0
- package/runnables.d.cts +1 -0
- package/runnables.d.ts +1 -0
- package/runnables.js +1 -0
- package/singletons.cjs +1 -0
- package/singletons.d.cts +1 -0
- package/singletons.d.ts +1 -0
- package/singletons.js +1 -0
- package/stores.cjs +1 -0
- package/stores.d.cts +1 -0
- package/stores.d.ts +1 -0
- package/stores.js +1 -0
- package/structured_query.cjs +1 -0
- package/structured_query.d.cts +1 -0
- package/structured_query.d.ts +1 -0
- package/structured_query.js +1 -0
- package/tools.cjs +1 -0
- package/tools.d.cts +1 -0
- package/tools.d.ts +1 -0
- package/tools.js +1 -0
- package/tracers/base.cjs +1 -0
- package/tracers/base.d.cts +1 -0
- package/tracers/base.d.ts +1 -0
- package/tracers/base.js +1 -0
- package/tracers/console.cjs +1 -0
- package/tracers/console.d.cts +1 -0
- package/tracers/console.d.ts +1 -0
- package/tracers/console.js +1 -0
- package/tracers/log_stream.cjs +1 -0
- package/tracers/log_stream.d.cts +1 -0
- package/tracers/log_stream.d.ts +1 -0
- package/tracers/log_stream.js +1 -0
- package/tracers/run_collector.cjs +1 -0
- package/tracers/run_collector.d.cts +1 -0
- package/tracers/run_collector.d.ts +1 -0
- package/tracers/run_collector.js +1 -0
- package/tracers/tracer_langchain.cjs +1 -0
- package/tracers/tracer_langchain.d.cts +1 -0
- package/tracers/tracer_langchain.d.ts +1 -0
- package/tracers/tracer_langchain.js +1 -0
- package/types/stream.cjs +1 -0
- package/types/stream.d.cts +1 -0
- package/types/stream.d.ts +1 -0
- package/types/stream.js +1 -0
- package/utils/async_caller.cjs +1 -0
- package/utils/async_caller.d.cts +1 -0
- package/utils/async_caller.d.ts +1 -0
- package/utils/async_caller.js +1 -0
- package/utils/chunk_array.cjs +1 -0
- package/utils/chunk_array.d.cts +1 -0
- package/utils/chunk_array.d.ts +1 -0
- package/utils/chunk_array.js +1 -0
- package/utils/env.cjs +1 -0
- package/utils/env.d.cts +1 -0
- package/utils/env.d.ts +1 -0
- package/utils/env.js +1 -0
- package/utils/event_source_parse.cjs +1 -0
- package/utils/event_source_parse.d.cts +1 -0
- package/utils/event_source_parse.d.ts +1 -0
- package/utils/event_source_parse.js +1 -0
- package/utils/format.cjs +1 -0
- package/utils/format.d.cts +1 -0
- package/utils/format.d.ts +1 -0
- package/utils/format.js +1 -0
- package/utils/function_calling.cjs +1 -0
- package/utils/function_calling.d.cts +1 -0
- package/utils/function_calling.d.ts +1 -0
- package/utils/function_calling.js +1 -0
- package/utils/hash.cjs +1 -0
- package/utils/hash.d.cts +1 -0
- package/utils/hash.d.ts +1 -0
- package/utils/hash.js +1 -0
- package/utils/json_patch.cjs +1 -0
- package/utils/json_patch.d.cts +1 -0
- package/utils/json_patch.d.ts +1 -0
- package/utils/json_patch.js +1 -0
- package/utils/json_schema.cjs +1 -0
- package/utils/json_schema.d.cts +1 -0
- package/utils/json_schema.d.ts +1 -0
- package/utils/json_schema.js +1 -0
- package/utils/math.cjs +1 -0
- package/utils/math.d.cts +1 -0
- package/utils/math.d.ts +1 -0
- package/utils/math.js +1 -0
- package/utils/stream.cjs +1 -0
- package/utils/stream.d.cts +1 -0
- package/utils/stream.d.ts +1 -0
- package/utils/stream.js +1 -0
- package/utils/testing.cjs +1 -0
- package/utils/testing.d.cts +1 -0
- package/utils/testing.d.ts +1 -0
- package/utils/testing.js +1 -0
- package/utils/tiktoken.cjs +1 -0
- package/utils/tiktoken.d.cts +1 -0
- package/utils/tiktoken.d.ts +1 -0
- package/utils/tiktoken.js +1 -0
- package/utils/types.cjs +1 -0
- package/utils/types.d.cts +1 -0
- package/utils/types.d.ts +1 -0
- package/utils/types.js +1 -0
- package/vectorstores.cjs +1 -0
- package/vectorstores.d.cts +1 -0
- package/vectorstores.d.ts +1 -0
- package/vectorstores.js +1 -0
- package/dist/agents.d.cts.map +0 -1
- package/dist/agents.d.ts.map +0 -1
- package/dist/caches/base.cjs.map +0 -1
- package/dist/caches/base.d.cts.map +0 -1
- package/dist/caches/base.d.ts.map +0 -1
- package/dist/caches/base.js.map +0 -1
- package/dist/callbacks/base.d.cts.map +0 -1
- package/dist/callbacks/base.d.ts.map +0 -1
- package/dist/callbacks/dispatch/index.d.cts.map +0 -1
- package/dist/callbacks/dispatch/index.d.ts.map +0 -1
- package/dist/callbacks/dispatch/web.d.cts.map +0 -1
- package/dist/callbacks/dispatch/web.d.ts.map +0 -1
- package/dist/callbacks/manager.d.cts.map +0 -1
- package/dist/callbacks/manager.d.ts.map +0 -1
- package/dist/chat_history.d.cts.map +0 -1
- package/dist/chat_history.d.ts.map +0 -1
- package/dist/context.d.cts.map +0 -1
- package/dist/context.d.ts.map +0 -1
- package/dist/document_loaders/base.d.cts.map +0 -1
- package/dist/document_loaders/base.d.ts.map +0 -1
- package/dist/document_loaders/langsmith.d.cts.map +0 -1
- package/dist/document_loaders/langsmith.d.ts.map +0 -1
- package/dist/documents/document.d.cts.map +0 -1
- package/dist/documents/document.d.ts.map +0 -1
- package/dist/documents/transformers.d.cts.map +0 -1
- package/dist/documents/transformers.d.ts.map +0 -1
- package/dist/embeddings.d.cts.map +0 -1
- package/dist/embeddings.d.ts.map +0 -1
- package/dist/example_selectors/base.d.cts.map +0 -1
- package/dist/example_selectors/base.d.ts.map +0 -1
- package/dist/example_selectors/conditional.d.cts.map +0 -1
- package/dist/example_selectors/conditional.d.ts.map +0 -1
- package/dist/example_selectors/length_based.d.cts.map +0 -1
- package/dist/example_selectors/length_based.d.ts.map +0 -1
- package/dist/example_selectors/semantic_similarity.d.cts.map +0 -1
- package/dist/example_selectors/semantic_similarity.d.ts.map +0 -1
- package/dist/indexing/base.d.cts.map +0 -1
- package/dist/indexing/base.d.ts.map +0 -1
- package/dist/indexing/record_manager.d.cts.map +0 -1
- package/dist/indexing/record_manager.d.ts.map +0 -1
- package/dist/language_models/base.d.cts.map +0 -1
- package/dist/language_models/base.d.ts.map +0 -1
- package/dist/language_models/chat_models.d.cts.map +0 -1
- package/dist/language_models/chat_models.d.ts.map +0 -1
- package/dist/language_models/llms.d.cts.map +0 -1
- package/dist/language_models/llms.d.ts.map +0 -1
- package/dist/language_models/profile.d.cts.map +0 -1
- package/dist/language_models/profile.d.ts.map +0 -1
- package/dist/load/import_type.d.cts.map +0 -1
- package/dist/load/import_type.d.ts.map +0 -1
- package/dist/load/index.d.cts.map +0 -1
- package/dist/load/index.d.ts.map +0 -1
- package/dist/load/map_keys.d.cts.map +0 -1
- package/dist/load/map_keys.d.ts.map +0 -1
- package/dist/load/serializable.d.cts.map +0 -1
- package/dist/load/serializable.d.ts.map +0 -1
- package/dist/memory.d.cts.map +0 -1
- package/dist/memory.d.ts.map +0 -1
- package/dist/messages/ai.d.cts.map +0 -1
- package/dist/messages/ai.d.ts.map +0 -1
- package/dist/messages/base.d.cts.map +0 -1
- package/dist/messages/base.d.ts.map +0 -1
- package/dist/messages/chat.d.cts.map +0 -1
- package/dist/messages/chat.d.ts.map +0 -1
- package/dist/messages/content/base.d.cts.map +0 -1
- package/dist/messages/content/base.d.ts.map +0 -1
- package/dist/messages/content/data.d.cts.map +0 -1
- package/dist/messages/content/data.d.ts.map +0 -1
- package/dist/messages/content/index.d.cts.map +0 -1
- package/dist/messages/content/index.d.ts.map +0 -1
- package/dist/messages/content/multimodal.d.cts.map +0 -1
- package/dist/messages/content/multimodal.d.ts.map +0 -1
- package/dist/messages/content/tools.d.cts.map +0 -1
- package/dist/messages/content/tools.d.ts.map +0 -1
- package/dist/messages/format.d.cts.map +0 -1
- package/dist/messages/format.d.ts.map +0 -1
- package/dist/messages/function.d.cts.map +0 -1
- package/dist/messages/function.d.ts.map +0 -1
- package/dist/messages/human.d.cts.map +0 -1
- package/dist/messages/human.d.ts.map +0 -1
- package/dist/messages/message.d.cts.map +0 -1
- package/dist/messages/message.d.ts.map +0 -1
- package/dist/messages/metadata.d.cts.map +0 -1
- package/dist/messages/metadata.d.ts.map +0 -1
- package/dist/messages/modifier.d.cts.map +0 -1
- package/dist/messages/modifier.d.ts.map +0 -1
- package/dist/messages/system.d.cts.map +0 -1
- package/dist/messages/system.d.ts.map +0 -1
- package/dist/messages/tool.d.cts.map +0 -1
- package/dist/messages/tool.d.ts.map +0 -1
- package/dist/messages/transformers.d.cts.map +0 -1
- package/dist/messages/transformers.d.ts.map +0 -1
- package/dist/messages/utils.d.cts.map +0 -1
- package/dist/messages/utils.d.ts.map +0 -1
- package/dist/output_parsers/base.d.cts.map +0 -1
- package/dist/output_parsers/base.d.ts.map +0 -1
- package/dist/output_parsers/bytes.d.cts.map +0 -1
- package/dist/output_parsers/bytes.d.ts.map +0 -1
- package/dist/output_parsers/json.d.cts.map +0 -1
- package/dist/output_parsers/json.d.ts.map +0 -1
- package/dist/output_parsers/list.d.cts.map +0 -1
- package/dist/output_parsers/list.d.ts.map +0 -1
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts.map +0 -1
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts.map +0 -1
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts.map +0 -1
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts.map +0 -1
- package/dist/output_parsers/string.d.cts.map +0 -1
- package/dist/output_parsers/string.d.ts.map +0 -1
- package/dist/output_parsers/structured.d.cts.map +0 -1
- package/dist/output_parsers/structured.d.ts.map +0 -1
- package/dist/output_parsers/transform.d.cts.map +0 -1
- package/dist/output_parsers/transform.d.ts.map +0 -1
- package/dist/output_parsers/xml.d.cts.map +0 -1
- package/dist/output_parsers/xml.d.ts.map +0 -1
- package/dist/outputs.d.cts.map +0 -1
- package/dist/outputs.d.ts.map +0 -1
- package/dist/prompt_values.d.cts.map +0 -1
- package/dist/prompt_values.d.ts.map +0 -1
- package/dist/prompts/base.d.cts.map +0 -1
- package/dist/prompts/base.d.ts.map +0 -1
- package/dist/prompts/chat.d.cts.map +0 -1
- package/dist/prompts/chat.d.ts.map +0 -1
- package/dist/prompts/dict.d.cts.map +0 -1
- package/dist/prompts/dict.d.ts.map +0 -1
- package/dist/prompts/few_shot.d.cts.map +0 -1
- package/dist/prompts/few_shot.d.ts.map +0 -1
- package/dist/prompts/image.d.cts.map +0 -1
- package/dist/prompts/image.d.ts.map +0 -1
- package/dist/prompts/pipeline.d.cts.map +0 -1
- package/dist/prompts/pipeline.d.ts.map +0 -1
- package/dist/prompts/prompt.d.cts.map +0 -1
- package/dist/prompts/prompt.d.ts.map +0 -1
- package/dist/prompts/serde.d.cts.map +0 -1
- package/dist/prompts/serde.d.ts.map +0 -1
- package/dist/prompts/string.d.cts.map +0 -1
- package/dist/prompts/string.d.ts.map +0 -1
- package/dist/prompts/structured.d.cts.map +0 -1
- package/dist/prompts/structured.d.ts.map +0 -1
- package/dist/prompts/template.d.cts.map +0 -1
- package/dist/prompts/template.d.ts.map +0 -1
- package/dist/retrievers/document_compressors/base.cjs.map +0 -1
- package/dist/retrievers/document_compressors/base.d.cts.map +0 -1
- package/dist/retrievers/document_compressors/base.d.ts.map +0 -1
- package/dist/retrievers/document_compressors/base.js +0 -17
- package/dist/retrievers/document_compressors/base.js.map +0 -1
- package/dist/retrievers/index.d.cts.map +0 -1
- package/dist/retrievers/index.d.ts.map +0 -1
- package/dist/runnables/base.d.cts.map +0 -1
- package/dist/runnables/base.d.ts.map +0 -1
- package/dist/runnables/branch.d.cts.map +0 -1
- package/dist/runnables/branch.d.ts.map +0 -1
- package/dist/runnables/config.d.cts.map +0 -1
- package/dist/runnables/config.d.ts.map +0 -1
- package/dist/runnables/graph.d.cts.map +0 -1
- package/dist/runnables/graph.d.ts.map +0 -1
- package/dist/runnables/history.d.cts.map +0 -1
- package/dist/runnables/history.d.ts.map +0 -1
- package/dist/runnables/passthrough.d.cts.map +0 -1
- package/dist/runnables/passthrough.d.ts.map +0 -1
- package/dist/runnables/router.d.cts.map +0 -1
- package/dist/runnables/router.d.ts.map +0 -1
- package/dist/runnables/types.d.cts.map +0 -1
- package/dist/runnables/types.d.ts.map +0 -1
- package/dist/singletons/async_local_storage/context.d.cts.map +0 -1
- package/dist/singletons/async_local_storage/context.d.ts.map +0 -1
- package/dist/singletons/async_local_storage/globals.d.cts.map +0 -1
- package/dist/singletons/async_local_storage/globals.d.ts.map +0 -1
- package/dist/singletons/async_local_storage/index.d.cts.map +0 -1
- package/dist/singletons/async_local_storage/index.d.ts.map +0 -1
- package/dist/singletons/callbacks.d.cts.map +0 -1
- package/dist/singletons/callbacks.d.ts.map +0 -1
- package/dist/stores.d.cts.map +0 -1
- package/dist/stores.d.ts.map +0 -1
- package/dist/structured_query/base.d.cts.map +0 -1
- package/dist/structured_query/base.d.ts.map +0 -1
- package/dist/structured_query/functional.d.cts.map +0 -1
- package/dist/structured_query/functional.d.ts.map +0 -1
- package/dist/structured_query/ir.d.cts.map +0 -1
- package/dist/structured_query/ir.d.ts.map +0 -1
- package/dist/structured_query/utils.d.cts.map +0 -1
- package/dist/structured_query/utils.d.ts.map +0 -1
- package/dist/tools/index.d.cts.map +0 -1
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/types.d.cts.map +0 -1
- package/dist/tools/types.d.ts.map +0 -1
- package/dist/tools/utils.d.cts.map +0 -1
- package/dist/tools/utils.d.ts.map +0 -1
- package/dist/tracers/base.d.cts.map +0 -1
- package/dist/tracers/base.d.ts.map +0 -1
- package/dist/tracers/console.d.cts.map +0 -1
- package/dist/tracers/console.d.ts.map +0 -1
- package/dist/tracers/event_stream.d.cts.map +0 -1
- package/dist/tracers/event_stream.d.ts.map +0 -1
- package/dist/tracers/log_stream.d.cts.map +0 -1
- package/dist/tracers/log_stream.d.ts.map +0 -1
- package/dist/tracers/run_collector.d.cts.map +0 -1
- package/dist/tracers/run_collector.d.ts.map +0 -1
- package/dist/tracers/tracer_langchain.d.cts.map +0 -1
- package/dist/tracers/tracer_langchain.d.ts.map +0 -1
- package/dist/types/_internal.d.cts.map +0 -1
- package/dist/types/_internal.d.ts.map +0 -1
- package/dist/types/type-utils.d.cts.map +0 -1
- package/dist/types/type-utils.d.ts.map +0 -1
- package/dist/utils/async_caller.d.cts.map +0 -1
- package/dist/utils/async_caller.d.ts.map +0 -1
- package/dist/utils/chunk_array.d.cts.map +0 -1
- package/dist/utils/chunk_array.d.ts.map +0 -1
- package/dist/utils/env.d.cts.map +0 -1
- package/dist/utils/env.d.ts.map +0 -1
- package/dist/utils/event_source_parse.d.cts.map +0 -1
- package/dist/utils/event_source_parse.d.ts.map +0 -1
- package/dist/utils/fast-json-patch/src/core.d.cts.map +0 -1
- package/dist/utils/fast-json-patch/src/core.d.ts.map +0 -1
- package/dist/utils/fast-json-patch/src/duplex.d.cts.map +0 -1
- package/dist/utils/fast-json-patch/src/duplex.d.ts.map +0 -1
- package/dist/utils/format.d.cts.map +0 -1
- package/dist/utils/format.d.ts.map +0 -1
- package/dist/utils/function_calling.d.cts.map +0 -1
- package/dist/utils/function_calling.d.ts.map +0 -1
- package/dist/utils/hash.d.cts.map +0 -1
- package/dist/utils/hash.d.ts.map +0 -1
- package/dist/utils/js-sha256/hash.d.cts.map +0 -1
- package/dist/utils/js-sha256/hash.d.ts.map +0 -1
- package/dist/utils/json.d.cts.map +0 -1
- package/dist/utils/json.d.ts.map +0 -1
- package/dist/utils/json_schema.d.cts.map +0 -1
- package/dist/utils/json_schema.d.ts.map +0 -1
- package/dist/utils/math.d.cts.map +0 -1
- package/dist/utils/math.d.ts.map +0 -1
- package/dist/utils/ml-distance/similarities.d.cts.map +0 -1
- package/dist/utils/ml-distance/similarities.d.ts.map +0 -1
- package/dist/utils/stream.d.cts.map +0 -1
- package/dist/utils/stream.d.ts.map +0 -1
- package/dist/utils/testing/chat_models.d.cts.map +0 -1
- package/dist/utils/testing/chat_models.d.ts.map +0 -1
- package/dist/utils/testing/embeddings.d.cts.map +0 -1
- package/dist/utils/testing/embeddings.d.ts.map +0 -1
- package/dist/utils/testing/llms.d.cts.map +0 -1
- package/dist/utils/testing/llms.d.ts.map +0 -1
- package/dist/utils/testing/message_history.d.cts.map +0 -1
- package/dist/utils/testing/message_history.d.ts.map +0 -1
- package/dist/utils/testing/output_parsers.d.cts.map +0 -1
- package/dist/utils/testing/output_parsers.d.ts.map +0 -1
- package/dist/utils/testing/retrievers.d.cts.map +0 -1
- package/dist/utils/testing/retrievers.d.ts.map +0 -1
- package/dist/utils/testing/runnables.d.cts.map +0 -1
- package/dist/utils/testing/runnables.d.ts.map +0 -1
- package/dist/utils/testing/tools.d.cts.map +0 -1
- package/dist/utils/testing/tools.d.ts.map +0 -1
- package/dist/utils/testing/tracers.d.cts.map +0 -1
- package/dist/utils/testing/tracers.d.ts.map +0 -1
- package/dist/utils/testing/vectorstores.d.cts.map +0 -1
- package/dist/utils/testing/vectorstores.d.ts.map +0 -1
- package/dist/utils/tiktoken.d.cts.map +0 -1
- package/dist/utils/tiktoken.d.ts.map +0 -1
- package/dist/utils/types/index.d.cts.map +0 -1
- package/dist/utils/types/index.d.ts.map +0 -1
- package/dist/utils/types/zod.d.cts.map +0 -1
- package/dist/utils/types/zod.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/errorMessages.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/errorMessages.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parseTypes.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parseTypes.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/any.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/any.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/array.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/array.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/date.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/date.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/enum.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/enum.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/literal.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/literal.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/map.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/map.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/never.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/never.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/null.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/null.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/number.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/number.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/object.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/object.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/record.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/record.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/set.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/set.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/string.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/string.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/union.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/union.d.ts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts.map +0 -1
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts.map +0 -1
- package/dist/vectorstores.d.cts.map +0 -1
- package/dist/vectorstores.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embeddings.d.ts","names":["Embeddings","EmbeddingsParams","SyntheticEmbeddingsParams","SyntheticEmbeddings","Promise","FakeEmbeddings"],"sources":["../../../src/utils/testing/embeddings.d.ts"],"sourcesContent":["import { Embeddings, EmbeddingsParams } from \"../../embeddings.js\";\n/**\n * An interface that defines additional parameters specific to the\n * SyntheticEmbeddings class.\n */\ninterface SyntheticEmbeddingsParams extends EmbeddingsParams {\n vectorSize: number;\n}\n/**\n * A class that provides synthetic embeddings by overriding the\n * embedDocuments and embedQuery methods to generate embeddings based on\n * the input documents. The embeddings are generated by converting each\n * document into chunks, calculating a numerical value for each chunk, and\n * returning an array of these values as the embedding.\n */\nexport declare class SyntheticEmbeddings extends Embeddings implements SyntheticEmbeddingsParams {\n vectorSize: number;\n constructor(params?: SyntheticEmbeddingsParams);\n /**\n * Generates synthetic embeddings for a list of documents.\n * @param documents List of documents to generate embeddings for.\n * @returns A promise that resolves with a list of synthetic embeddings for each document.\n */\n embedDocuments(documents: string[]): Promise<number[][]>;\n /**\n * Generates a synthetic embedding for a document. The document is\n * converted into chunks, a numerical value is calculated for each chunk,\n * and an array of these values is returned as the embedding.\n * @param document The document to generate an embedding for.\n * @returns A promise that resolves with a synthetic embedding for the document.\n */\n embedQuery(document: string): Promise<number[]>;\n}\n/**\n * A class that provides fake embeddings by overriding the embedDocuments\n * and embedQuery methods to return fixed values.\n */\nexport declare class FakeEmbeddings extends Embeddings {\n constructor(params?: EmbeddingsParams);\n /**\n * Generates fixed embeddings for a list of documents.\n * @param documents List of documents to generate embeddings for.\n * @returns A promise that resolves with a list of fixed embeddings for each document.\n */\n embedDocuments(documents: string[]): Promise<number[][]>;\n /**\n * Generates a fixed embedding for a query.\n * @param _ The query to generate an embedding for.\n * @returns A promise that resolves with a fixed embedding for the query.\n */\n embedQuery(_: string): Promise<number[]>;\n}\nexport {};\n"],"mappings":";;;;;;AAAmE;AAenE;UAVUE,yBAAAA,SAAkCD,gBAUJ,CAAA;EAAA,UAEfC,EAAAA,MAAAA;;;;;AAFuE;AAsBhG;;;AAOyCE,cA7BpBD,mBAAAA,SAA4BH,UAAAA,YAAsBE,yBA6B9BE,CAAAA;EAAO,UAMrBA,EAAAA,MAAAA;EAAO,WAbUJ,CAAAA,MAAAA,CAAAA,EApBnBE,yBAoBmBF;EAAU;;;;;uCAdbI;;;;;;;;gCAQPA;;;;;;cAMbC,cAAAA,SAAuBL,UAAAA;uBACnBC;;;;;;uCAMgBG;;;;;;yBAMdA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llms.d.cts","names":["CallbackManagerForLLMRun","BaseLLMParams","LLM","GenerationChunk","FakeLLM","Promise","FakeStreamingLLM","AsyncGenerator"],"sources":["../../../src/utils/testing/llms.d.ts"],"sourcesContent":["import { CallbackManagerForLLMRun } from \"../../callbacks/manager.js\";\nimport { BaseLLMParams, LLM } from \"../../language_models/llms.js\";\nimport { GenerationChunk } from \"../../outputs.js\";\nexport declare class FakeLLM extends LLM {\n response?: string;\n thrownErrorString?: string;\n constructor(fields: {\n response?: string;\n thrownErrorString?: string;\n } & BaseLLMParams);\n _llmType(): string;\n _call(prompt: string, _options: this[\"ParsedCallOptions\"], runManager?: CallbackManagerForLLMRun): Promise<string>;\n}\nexport declare class FakeStreamingLLM extends LLM {\n sleep?: number;\n responses?: string[];\n thrownErrorString?: string;\n constructor(fields: {\n sleep?: number;\n responses?: string[];\n thrownErrorString?: string;\n } & BaseLLMParams);\n _llmType(): string;\n _call(prompt: string): Promise<string>;\n _streamResponseChunks(input: string, _options?: this[\"ParsedCallOptions\"], runManager?: CallbackManagerForLLMRun): AsyncGenerator<GenerationChunk, void, unknown>;\n}\n"],"mappings":";;;;;cAGqBI,OAAAA,SAAgBF,GAAAA;;EAAhBE,iBAAO,CAAA,EAAA,MAAA;EAAA,WAAA,CAAA,MAAA,EAAA;IAMpBH,QAAAA,CAAAA,EAAAA,MAAAA;IAEoED,iBAAAA,CAAAA,EAAAA,MAAAA;EAAwB,CAAA,GAF5FC,aAE+FI;EAAO,QARzEH,CAAAA,CAAAA,EAAAA,MAAAA;EAAG,KAAA,CAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,CAAA,EAQoCF,wBARpC,CAAA,EAQ+DK,OAR/D,CAAA,MAAA,CAAA;AAUxC;AAAqC,cAAhBC,gBAAAA,SAAyBJ,GAAAA,CAAT;EAAA,KAQ7BD,CAAAA,EAAAA,MAAAA;EAAa,SAEMI,CAAAA,EAAAA,MAAAA,EAAAA;EAAO,iBAC0DL,CAAAA,EAAAA,MAAAA;EAAwB,WAAkBG,CAAAA,MAAAA,EAAAA;IAAfI,KAAAA,CAAAA,EAAAA,MAAAA;IAXzEL,SAAAA,CAAAA,EAAAA,MAAAA,EAAAA;IAAG,iBAAA,CAAA,EAAA,MAAA;MAQzCD;;yBAEmBI;0FACiEL,2BAA2BO,eAAeJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llms.d.ts","names":["CallbackManagerForLLMRun","BaseLLMParams","LLM","GenerationChunk","FakeLLM","Promise","FakeStreamingLLM","AsyncGenerator"],"sources":["../../../src/utils/testing/llms.d.ts"],"sourcesContent":["import { CallbackManagerForLLMRun } from \"../../callbacks/manager.js\";\nimport { BaseLLMParams, LLM } from \"../../language_models/llms.js\";\nimport { GenerationChunk } from \"../../outputs.js\";\nexport declare class FakeLLM extends LLM {\n response?: string;\n thrownErrorString?: string;\n constructor(fields: {\n response?: string;\n thrownErrorString?: string;\n } & BaseLLMParams);\n _llmType(): string;\n _call(prompt: string, _options: this[\"ParsedCallOptions\"], runManager?: CallbackManagerForLLMRun): Promise<string>;\n}\nexport declare class FakeStreamingLLM extends LLM {\n sleep?: number;\n responses?: string[];\n thrownErrorString?: string;\n constructor(fields: {\n sleep?: number;\n responses?: string[];\n thrownErrorString?: string;\n } & BaseLLMParams);\n _llmType(): string;\n _call(prompt: string): Promise<string>;\n _streamResponseChunks(input: string, _options?: this[\"ParsedCallOptions\"], runManager?: CallbackManagerForLLMRun): AsyncGenerator<GenerationChunk, void, unknown>;\n}\n"],"mappings":";;;;;cAGqBI,OAAAA,SAAgBF,GAAAA;;EAAhBE,iBAAO,CAAA,EAAA,MAAA;EAAA,WAAA,CAAA,MAAA,EAAA;IAMpBH,QAAAA,CAAAA,EAAAA,MAAAA;IAEoED,iBAAAA,CAAAA,EAAAA,MAAAA;EAAwB,CAAA,GAF5FC,aAE+FI;EAAO,QARzEH,CAAAA,CAAAA,EAAAA,MAAAA;EAAG,KAAA,CAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,CAAA,EAQoCF,wBARpC,CAAA,EAQ+DK,OAR/D,CAAA,MAAA,CAAA;AAUxC;AAAqC,cAAhBC,gBAAAA,SAAyBJ,GAAAA,CAAT;EAAA,KAQ7BD,CAAAA,EAAAA,MAAAA;EAAa,SAEMI,CAAAA,EAAAA,MAAAA,EAAAA;EAAO,iBAC0DL,CAAAA,EAAAA,MAAAA;EAAwB,WAAkBG,CAAAA,MAAAA,EAAAA;IAAfI,KAAAA,CAAAA,EAAAA,MAAAA;IAXzEL,SAAAA,CAAAA,EAAAA,MAAAA,EAAAA;IAAG,iBAAA,CAAA,EAAA,MAAA;MAQzCD;;yBAEmBI;0FACiEL,2BAA2BO,eAAeJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message_history.d.cts","names":["BaseChatMessageHistory","BaseListChatMessageHistory","BaseMessage","BaseTracer","Run","FakeChatMessageHistory","Array","Promise","FakeListChatMessageHistory","FakeTracer"],"sources":["../../../src/utils/testing/message_history.d.ts"],"sourcesContent":["import { BaseChatMessageHistory, BaseListChatMessageHistory } from \"../../chat_history.js\";\nimport { BaseMessage } from \"../../messages/index.js\";\nimport { BaseTracer, Run } from \"../../tracers/base.js\";\nexport declare class FakeChatMessageHistory extends BaseChatMessageHistory {\n lc_namespace: string[];\n messages: Array<BaseMessage>;\n constructor();\n getMessages(): Promise<BaseMessage[]>;\n addMessage(message: BaseMessage): Promise<void>;\n addUserMessage(message: string): Promise<void>;\n addAIMessage(message: string): Promise<void>;\n clear(): Promise<void>;\n}\nexport declare class FakeListChatMessageHistory extends BaseListChatMessageHistory {\n lc_namespace: string[];\n messages: Array<BaseMessage>;\n constructor();\n addMessage(message: BaseMessage): Promise<void>;\n getMessages(): Promise<BaseMessage[]>;\n}\nexport declare class FakeTracer extends BaseTracer {\n name: string;\n runs: Run[];\n constructor();\n protected persistRun(run: Run): Promise<void>;\n}\n"],"mappings":";;;;;cAGqBK,sBAAAA,SAA+BL,sBAAAA;;EAA/BK,QAAAA,EAEPC,KAFOD,CAEDH,WAFuB,CAAA;EAAA,WAAA,CAAA;EAAA,WAEvBA,CAAAA,CAAAA,EAEDK,OAFCL,CAEOA,WAFPA,EAAAA,CAAAA;EAAW,UAAjBI,CAAAA,OAAAA,EAGUJ,WAHVI,CAAAA,EAGwBC,OAHxBD,CAAAA,IAAAA,CAAAA;EAAK,cAEQJ,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,EAEUK,OAFVL,CAAAA,IAAAA,CAAAA;EAAW,YAAnBK,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,EAGgBA,OAHhBA,CAAAA,IAAAA,CAAAA;EAAO,KACFL,CAAAA,CAAAA,EAGXK,OAHWL,CAAAA,IAAAA,CAAAA;;AACaK,cAIhBC,0BAAAA,SAAmCP,0BAAAA,CAJnBM;EAAO,YACTA,EAAAA,MAAAA,EAAAA;EAAO,QAC7BA,EAICD,KAJDC,CAIOL,WAJPK,CAAAA;EAAO,WARgCP,CAAAA;EAAsB,UAAA,CAAA,OAAA,EAclDE,WAdkD,CAAA,EAcpCK,OAdoC,CAAA,IAAA,CAAA;EAUrDC,WAAAA,CAAAA,CAAAA,EAKFD,OALEC,CAKMN,WALoB,EAAA,CAAA;;AAE3BA,cAKCO,UAAAA,SAAmBN,UAAAA,CALpBD;EAAW,IAAjBI,EAAAA,MAAAA;EAAK,IAEKJ,EAKdE,GALcF,EAAAA;EAAW,WAAGK,CAAAA;EAAO,UAClBL,UAAAA,CAAAA,GAAAA,EAMGE,GANHF,CAAAA,EAMSK,OANTL,CAAAA,IAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message_history.d.ts","names":["BaseChatMessageHistory","BaseListChatMessageHistory","BaseMessage","BaseTracer","Run","FakeChatMessageHistory","Array","Promise","FakeListChatMessageHistory","FakeTracer"],"sources":["../../../src/utils/testing/message_history.d.ts"],"sourcesContent":["import { BaseChatMessageHistory, BaseListChatMessageHistory } from \"../../chat_history.js\";\nimport { BaseMessage } from \"../../messages/index.js\";\nimport { BaseTracer, Run } from \"../../tracers/base.js\";\nexport declare class FakeChatMessageHistory extends BaseChatMessageHistory {\n lc_namespace: string[];\n messages: Array<BaseMessage>;\n constructor();\n getMessages(): Promise<BaseMessage[]>;\n addMessage(message: BaseMessage): Promise<void>;\n addUserMessage(message: string): Promise<void>;\n addAIMessage(message: string): Promise<void>;\n clear(): Promise<void>;\n}\nexport declare class FakeListChatMessageHistory extends BaseListChatMessageHistory {\n lc_namespace: string[];\n messages: Array<BaseMessage>;\n constructor();\n addMessage(message: BaseMessage): Promise<void>;\n getMessages(): Promise<BaseMessage[]>;\n}\nexport declare class FakeTracer extends BaseTracer {\n name: string;\n runs: Run[];\n constructor();\n protected persistRun(run: Run): Promise<void>;\n}\n"],"mappings":";;;;;cAGqBK,sBAAAA,SAA+BL,sBAAAA;;EAA/BK,QAAAA,EAEPC,KAFOD,CAEDH,WAFuB,CAAA;EAAA,WAAA,CAAA;EAAA,WAEvBA,CAAAA,CAAAA,EAEDK,OAFCL,CAEOA,WAFPA,EAAAA,CAAAA;EAAW,UAAjBI,CAAAA,OAAAA,EAGUJ,WAHVI,CAAAA,EAGwBC,OAHxBD,CAAAA,IAAAA,CAAAA;EAAK,cAEQJ,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,EAEUK,OAFVL,CAAAA,IAAAA,CAAAA;EAAW,YAAnBK,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,EAGgBA,OAHhBA,CAAAA,IAAAA,CAAAA;EAAO,KACFL,CAAAA,CAAAA,EAGXK,OAHWL,CAAAA,IAAAA,CAAAA;;AACaK,cAIhBC,0BAAAA,SAAmCP,0BAAAA,CAJnBM;EAAO,YACTA,EAAAA,MAAAA,EAAAA;EAAO,QAC7BA,EAICD,KAJDC,CAIOL,WAJPK,CAAAA;EAAO,WARgCP,CAAAA;EAAsB,UAAA,CAAA,OAAA,EAclDE,WAdkD,CAAA,EAcpCK,OAdoC,CAAA,IAAA,CAAA;EAUrDC,WAAAA,CAAAA,CAAAA,EAKFD,OALEC,CAKMN,WALoB,EAAA,CAAA;;AAE3BA,cAKCO,UAAAA,SAAmBN,UAAAA,CALpBD;EAAW,IAAjBI,EAAAA,MAAAA;EAAK,IAEKJ,EAKdE,GALcF,EAAAA;EAAW,WAAGK,CAAAA;EAAO,UAClBL,UAAAA,CAAAA,GAAAA,EAMGE,GANHF,CAAAA,EAMSK,OANTL,CAAAA,IAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output_parsers.d.cts","names":["BaseOutputParser","FakeSplitIntoListParser","Promise"],"sources":["../../../src/utils/testing/output_parsers.d.ts"],"sourcesContent":["import { BaseOutputParser } from \"../../output_parsers/base.js\";\n/**\n * Parser for comma-separated values. It splits the input text by commas\n * and trims the resulting values.\n */\nexport declare class FakeSplitIntoListParser extends BaseOutputParser<string[]> {\n lc_namespace: string[];\n getFormatInstructions(): string;\n parse(text: string): Promise<string[]>;\n}\n"],"mappings":";;;;;;AAKA;;AAGyBE,cAHJD,uBAAAA,SAAgCD,gBAG5BE,CAAAA,MAAAA,EAAAA,CAAAA,CAAAA;EAAO,YAHqBF,EAAAA,MAAAA,EAAAA;EAAgB,qBAAA,CAAA,CAAA,EAAA,MAAA;uBAG5CE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output_parsers.d.ts","names":["BaseOutputParser","FakeSplitIntoListParser","Promise"],"sources":["../../../src/utils/testing/output_parsers.d.ts"],"sourcesContent":["import { BaseOutputParser } from \"../../output_parsers/base.js\";\n/**\n * Parser for comma-separated values. It splits the input text by commas\n * and trims the resulting values.\n */\nexport declare class FakeSplitIntoListParser extends BaseOutputParser<string[]> {\n lc_namespace: string[];\n getFormatInstructions(): string;\n parse(text: string): Promise<string[]>;\n}\n"],"mappings":";;;;;;AAKA;;AAGyBE,cAHJD,uBAAAA,SAAgCD,gBAG5BE,CAAAA,MAAAA,EAAAA,CAAAA,CAAAA;EAAO,YAHqBF,EAAAA,MAAAA,EAAAA;EAAgB,qBAAA,CAAA,CAAA,EAAA,MAAA;uBAG5CE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrievers.d.cts","names":["Document","BaseRetriever","FakeRetriever","Record","Promise"],"sources":["../../../src/utils/testing/retrievers.d.ts"],"sourcesContent":["import { Document } from \"../../documents/document.js\";\nimport { BaseRetriever } from \"../../retrievers/index.js\";\nexport declare class FakeRetriever extends BaseRetriever {\n lc_namespace: string[];\n output: Document<Record<string, any>>[];\n constructor(fields?: {\n output: Document[];\n });\n _getRelevantDocuments(_query: string\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): Promise<Document<Record<string, any>>[]>;\n}\n"],"mappings":";;;;cAEqBE,aAAAA,SAAsBD,aAAAA;;EAAtBC,MAAAA,EAETF,QAFsB,CAEbG,MAFa,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,EAAA;EAAA,WAAA,CAAA,MAEP,CAFO,EAAA;IAEbA,MAAAA,EAELH,QAFKG,EAAAA;EAAM,CAAA;EAAP,qBAEJH,CAAAA,MAAAA,EAAAA;EAAQ;EAAA,CAIM,EAAvBI,OAAQJ,CAAAA,QAAAA,CAASG,MAATH,CAAAA,MAAAA,EAAAA,GAAAA,CAAAA,CAAAA,EAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrievers.d.ts","names":["Document","BaseRetriever","FakeRetriever","Record","Promise"],"sources":["../../../src/utils/testing/retrievers.d.ts"],"sourcesContent":["import { Document } from \"../../documents/document.js\";\nimport { BaseRetriever } from \"../../retrievers/index.js\";\nexport declare class FakeRetriever extends BaseRetriever {\n lc_namespace: string[];\n output: Document<Record<string, any>>[];\n constructor(fields?: {\n output: Document[];\n });\n _getRelevantDocuments(_query: string\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ): Promise<Document<Record<string, any>>[]>;\n}\n"],"mappings":";;;;cAEqBE,aAAAA,SAAsBD,aAAAA;;EAAtBC,MAAAA,EAETF,QAFsB,CAEbG,MAFa,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,EAAA;EAAA,WAAA,CAAA,MAEP,CAFO,EAAA;IAEbA,MAAAA,EAELH,QAFKG,EAAAA;EAAM,CAAA;EAAP,qBAEJH,CAAAA,MAAAA,EAAAA;EAAQ;EAAA,CAIM,EAAvBI,OAAQJ,CAAAA,QAAAA,CAASG,MAATH,CAAAA,MAAAA,EAAAA,GAAAA,CAAAA,CAAAA,EAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runnables.d.cts","names":["BaseCallbackConfig","Runnable","FakeRunnable","Record","Partial","Promise"],"sources":["../../../src/utils/testing/runnables.d.ts"],"sourcesContent":["import { BaseCallbackConfig } from \"../../callbacks/manager.js\";\nimport { Runnable } from \"../../runnables/base.js\";\nexport declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {\n lc_namespace: string[];\n returnOptions?: boolean;\n constructor(fields: {\n returnOptions?: boolean;\n });\n invoke(input: string, options?: Partial<BaseCallbackConfig>): Promise<Record<string, unknown>>;\n}\n"],"mappings":";;;;cAEqBE,YAAAA,SAAqBD,iBAAiBE;;EAAtCD,aAAAA,CAAAA,EAAY,OAAA;EAAA,WAAA,CAAA,MAAA,EAAA;IAA0BC,aAAAA,CAAAA,EAAAA,OAAAA;EAAM,CAAA;EAMH,MAA1BC,CAAAA,KAAAA,EAAAA,MAAAA,EAAAA,OAAAA,CAAAA,EAAAA,OAAAA,CAAQJ,kBAARI,CAAAA,CAAAA,EAA8BC,OAA9BD,CAAsCD,MAAtCC,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runnables.d.ts","names":["BaseCallbackConfig","Runnable","FakeRunnable","Record","Partial","Promise"],"sources":["../../../src/utils/testing/runnables.d.ts"],"sourcesContent":["import { BaseCallbackConfig } from \"../../callbacks/manager.js\";\nimport { Runnable } from \"../../runnables/base.js\";\nexport declare class FakeRunnable extends Runnable<string, Record<string, unknown>> {\n lc_namespace: string[];\n returnOptions?: boolean;\n constructor(fields: {\n returnOptions?: boolean;\n });\n invoke(input: string, options?: Partial<BaseCallbackConfig>): Promise<Record<string, unknown>>;\n}\n"],"mappings":";;;;cAEqBE,YAAAA,SAAqBD,iBAAiBE;;EAAtCD,aAAAA,CAAAA,EAAY,OAAA;EAAA,WAAA,CAAA,MAAA,EAAA;IAA0BC,aAAAA,CAAAA,EAAAA,OAAAA;EAAM,CAAA;EAMH,MAA1BC,CAAAA,KAAAA,EAAAA,MAAAA,EAAAA,OAAAA,CAAAA,EAAAA,OAAAA,CAAQJ,kBAARI,CAAAA,CAAAA,EAA8BC,OAA9BD,CAAsCD,MAAtCC,CAAAA,MAAAA,EAAAA,OAAAA,CAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.cts","names":["CallbackManagerForToolRun","StructuredTool","ToolParams","ToolInputSchemaOutputType","InteropZodObject","FakeToolParams","T","FakeTool","Promise"],"sources":["../../../src/utils/testing/tools.d.ts"],"sourcesContent":["import { CallbackManagerForToolRun } from \"../../callbacks/manager.js\";\nimport { StructuredTool, ToolParams } from \"../../tools/index.js\";\nimport { ToolInputSchemaOutputType } from \"../../tools/types.js\";\nimport { InteropZodObject } from \"../types/zod.js\";\nexport interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {\n name: string;\n description: string;\n schema: T;\n}\nexport declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {\n name: string;\n description: string;\n schema: T;\n constructor(fields: FakeToolParams<T>);\n protected _call(arg: ToolInputSchemaOutputType<T>, _runManager?: CallbackManagerForToolRun): Promise<string>;\n}\n"],"mappings":";;;;;;UAIiBK,yBAAyBD,mBAAmBA,0BAA0BF;;EAAtEG,WAAAA,EAAAA,MAAc;EAAA,MAAA,EAGnBC,CAHmB;;AAA8BF,cAKxCG,QALwCH,CAAAA,UAKrBA,gBALqBA,GAKFA,gBALEA,CAAAA,SAKwBH,cALxBG,CAKuCE,CALvCF,CAAAA,CAAAA;EAAgB,IAGjEE,EAAAA,MAAAA;EAAC,WAH0EJ,EAAAA,MAAAA;EAAU,MAAA,EAQrFI,CARqF;EAK5EC,WAAQ,CAAA,MAAA,EAILF,cAJK,CAIUC,CAJV,CAAA;EAAA,UAAA,KAAA,CAAA,GAAA,EAKJH,yBALI,CAKsBG,CALtB,CAAA,EAAA,WAAA,CAAA,EAKwCN,yBALxC,CAAA,EAKoEQ,OALpE,CAAA,MAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","names":["CallbackManagerForToolRun","StructuredTool","ToolParams","ToolInputSchemaOutputType","InteropZodObject","FakeToolParams","T","FakeTool","Promise"],"sources":["../../../src/utils/testing/tools.d.ts"],"sourcesContent":["import { CallbackManagerForToolRun } from \"../../callbacks/manager.js\";\nimport { StructuredTool, ToolParams } from \"../../tools/index.js\";\nimport { ToolInputSchemaOutputType } from \"../../tools/types.js\";\nimport { InteropZodObject } from \"../types/zod.js\";\nexport interface FakeToolParams<T extends InteropZodObject = InteropZodObject> extends ToolParams {\n name: string;\n description: string;\n schema: T;\n}\nexport declare class FakeTool<T extends InteropZodObject = InteropZodObject> extends StructuredTool<T> {\n name: string;\n description: string;\n schema: T;\n constructor(fields: FakeToolParams<T>);\n protected _call(arg: ToolInputSchemaOutputType<T>, _runManager?: CallbackManagerForToolRun): Promise<string>;\n}\n"],"mappings":";;;;;;UAIiBK,yBAAyBD,mBAAmBA,0BAA0BF;;EAAtEG,WAAAA,EAAAA,MAAc;EAAA,MAAA,EAGnBC,CAHmB;;AAA8BF,cAKxCG,QALwCH,CAAAA,UAKrBA,gBALqBA,GAKFA,gBALEA,CAAAA,SAKwBH,cALxBG,CAKuCE,CALvCF,CAAAA,CAAAA;EAAgB,IAGjEE,EAAAA,MAAAA;EAAC,WAH0EJ,EAAAA,MAAAA;EAAU,MAAA,EAQrFI,CARqF;EAK5EC,WAAQ,CAAA,MAAA,EAILF,cAJK,CAIUC,CAJV,CAAA;EAAA,UAAA,KAAA,CAAA,GAAA,EAKJH,yBALI,CAKsBG,CALtB,CAAA,EAAA,WAAA,CAAA,EAKwCN,yBALxC,CAAA,EAKoEQ,OALpE,CAAA,MAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tracers.d.cts","names":["BaseTracer","Run","SingleRunExtractor","Promise"],"sources":["../../../src/utils/testing/tracers.d.ts"],"sourcesContent":["import { BaseTracer, Run } from \"../../tracers/base.js\";\nexport declare class SingleRunExtractor extends BaseTracer {\n runPromiseResolver: (run: Run) => void;\n runPromise: Promise<Run>;\n /** The name of the callback handler. */\n name: string;\n constructor();\n persistRun(run: Run): Promise<void>;\n extract(): Promise<Run>;\n}\n"],"mappings":";;;cACqBE,kBAAAA,SAA2BF,UAAAA;4BAClBC;EADTC,UAAAA,EAELC,OAFKD,CAEGD,GAFe,CAAA;EAAA;EAAA,IACTA,EAAAA,MAAAA;EAAG,WACTA,CAAAA;EAAG,UAAXE,CAAAA,GAAAA,EAIIF,GAJJE,CAAAA,EAIUA,OAJVA,CAAAA,IAAAA,CAAAA;EAAO,OAIHF,CAAAA,CAAAA,EACLE,OADKF,CACGA,GADHA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tracers.d.ts","names":["BaseTracer","Run","SingleRunExtractor","Promise"],"sources":["../../../src/utils/testing/tracers.d.ts"],"sourcesContent":["import { BaseTracer, Run } from \"../../tracers/base.js\";\nexport declare class SingleRunExtractor extends BaseTracer {\n runPromiseResolver: (run: Run) => void;\n runPromise: Promise<Run>;\n /** The name of the callback handler. */\n name: string;\n constructor();\n persistRun(run: Run): Promise<void>;\n extract(): Promise<Run>;\n}\n"],"mappings":";;;cACqBE,kBAAAA,SAA2BF,UAAAA;4BAClBC;EADTC,UAAAA,EAELC,OAFKD,CAEGD,GAFe,CAAA;EAAA;EAAA,IACTA,EAAAA,MAAAA;EAAG,WACTA,CAAAA;EAAG,UAAXE,CAAAA,GAAAA,EAIIF,GAJJE,CAAAA,EAIUA,OAJVA,CAAAA,IAAAA,CAAAA;EAAO,OAIHF,CAAAA,CAAAA,EACLE,OADKF,CACGA,GADHA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vectorstores.d.cts","names":["Document","EmbeddingsInterface","VectorStore","cosine","MemoryVector","Record","FakeVectorStoreArgs","FakeVectorStore","similarity","Promise"],"sources":["../../../src/utils/testing/vectorstores.d.ts"],"sourcesContent":["import { Document } from \"../../documents/document.js\";\nimport { EmbeddingsInterface } from \"../../embeddings.js\";\nimport { VectorStore } from \"../../vectorstores.js\";\nimport { cosine } from \"../ml-distance/similarities.js\";\n/**\n * Interface representing a vector in memory. It includes the content\n * (text), the corresponding embedding (vector), and any associated\n * metadata.\n */\ninterface MemoryVector {\n content: string;\n embedding: number[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n metadata: Record<string, any>;\n}\n/**\n * Interface for the arguments that can be passed to the\n * `FakeVectorStore` constructor. It includes an optional `similarity`\n * function.\n */\nexport interface FakeVectorStoreArgs {\n similarity?: typeof cosine;\n}\n/**\n * Class that extends `VectorStore` to store vectors in memory. Provides\n * methods for adding documents, performing similarity searches, and\n * creating instances from texts, documents, or an existing index.\n */\nexport declare class FakeVectorStore extends VectorStore {\n FilterType: (doc: Document) => boolean;\n memoryVectors: MemoryVector[];\n similarity: typeof cosine;\n _vectorstoreType(): string;\n constructor(embeddings: EmbeddingsInterface, { similarity, ...rest }?: FakeVectorStoreArgs);\n /**\n * Method to add documents to the memory vector store. It extracts the\n * text from each document, generates embeddings for them, and adds the\n * resulting vectors to the store.\n * @param documents Array of `Document` instances to be added to the store.\n * @returns Promise that resolves when all documents have been added.\n */\n addDocuments(documents: Document[]): Promise<void>;\n /**\n * Method to add vectors to the memory vector store. It creates\n * `MemoryVector` instances for each vector and document pair and adds\n * them to the store.\n * @param vectors Array of vectors to be added to the store.\n * @param documents Array of `Document` instances corresponding to the vectors.\n * @returns Promise that resolves when all vectors have been added.\n */\n addVectors(vectors: number[][], documents: Document[]): Promise<void>;\n /**\n * Method to perform a similarity search in the memory vector store. It\n * calculates the similarity between the query vector and each vector in\n * the store, sorts the results by similarity, and returns the top `k`\n * results along with their scores.\n * @param query Query vector to compare against the vectors in the store.\n * @param k Number of top results to return.\n * @param filter Optional filter function to apply to the vectors before performing the search.\n * @returns Promise that resolves with an array of tuples, each containing a `Document` and its similarity score.\n */\n similaritySearchVectorWithScore(query: number[], k: number, filter?: this[\"FilterType\"]): Promise<[Document, number][]>;\n /**\n * Static method to create a `FakeVectorStore` instance from an array of\n * texts. It creates a `Document` for each text and metadata pair, and\n * adds them to the store.\n * @param texts Array of texts to be added to the store.\n * @param metadatas Array or single object of metadata corresponding to the texts.\n * @param embeddings `Embeddings` instance used to generate embeddings for the texts.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromTexts(texts: string[], metadatas: object[] | object, embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n /**\n * Static method to create a `FakeVectorStore` instance from an array of\n * `Document` instances. It adds the documents to the store.\n * @param docs Array of `Document` instances to be added to the store.\n * @param embeddings `Embeddings` instance used to generate embeddings for the documents.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromDocuments(docs: Document[], embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n /**\n * Static method to create a `FakeVectorStore` instance from an existing\n * index. It creates a new `FakeVectorStore` instance without adding any\n * documents or vectors.\n * @param embeddings `Embeddings` instance used to generate embeddings for the documents.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromExistingIndex(embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGwD;AAiBxD;AAQA;UAnBUI,YAAAA,CAmB0B;EAAA,OACdJ,EAAAA,MAAAA;EAAQ,SACXI,EAAAA,MAAAA,EAAAA;EAAY;EACF,QAEDH,EApBdI,MAoBcJ,CAAAA,MAAAA,EAAAA,GAAAA,CAAAA;;;;;;;AA4B2ED,UAzCtFM,mBAAAA,CAyCsFN;EAAQ,UAAjBS,CAAAA,EAAAA,OAxCtEN,MAwCsEM;;;;;;;AAoBPH,cArDlEC,eAAAA,SAAwBL,WAAAA,CAqD0CI;EAAmB,UAAWC,EAAAA,CAAAA,GAAAA,EApD/FP,QAoD+FO,EAAAA,GAAAA,OAAAA;EAAe,aAAvBE,EAnD1FL,YAmD0FK,EAAAA;EAAO,UAS3ER,EAAAA,OA3DlBE,MA2DkBF;EAAmB,gBAAaK,CAAAA,CAAAA,EAAAA,MAAAA;EAAmB,WAAWC,CAAAA,UAAAA,EAzD3EN,mBAyD2EM,EAAAA;IAAAA,UAAAA;IAAAA,GAAAA;EAAAA,CAAAA,CAAAA,EAzD5BD,mBAyD4BC;EAAe;;AA9D9D;;;;;0BAa5BP,aAAaS;;;;;;;;;6CASMT,aAAaS;;;;;;;;;;;4FAWkCA,SAAST;;;;;;;;;;;8EAWvBC,gCAAgCK,sBAAsBG,QAAQF;;;;;;;;;6BAS/GP,wBAAwBC,gCAAgCK,sBAAsBG,QAAQF;;;;;;;;;uCAS5EN,gCAAgCK,sBAAsBG,QAAQF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vectorstores.d.ts","names":["Document","EmbeddingsInterface","VectorStore","cosine","MemoryVector","Record","FakeVectorStoreArgs","FakeVectorStore","similarity","Promise"],"sources":["../../../src/utils/testing/vectorstores.d.ts"],"sourcesContent":["import { Document } from \"../../documents/document.js\";\nimport { EmbeddingsInterface } from \"../../embeddings.js\";\nimport { VectorStore } from \"../../vectorstores.js\";\nimport { cosine } from \"../ml-distance/similarities.js\";\n/**\n * Interface representing a vector in memory. It includes the content\n * (text), the corresponding embedding (vector), and any associated\n * metadata.\n */\ninterface MemoryVector {\n content: string;\n embedding: number[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n metadata: Record<string, any>;\n}\n/**\n * Interface for the arguments that can be passed to the\n * `FakeVectorStore` constructor. It includes an optional `similarity`\n * function.\n */\nexport interface FakeVectorStoreArgs {\n similarity?: typeof cosine;\n}\n/**\n * Class that extends `VectorStore` to store vectors in memory. Provides\n * methods for adding documents, performing similarity searches, and\n * creating instances from texts, documents, or an existing index.\n */\nexport declare class FakeVectorStore extends VectorStore {\n FilterType: (doc: Document) => boolean;\n memoryVectors: MemoryVector[];\n similarity: typeof cosine;\n _vectorstoreType(): string;\n constructor(embeddings: EmbeddingsInterface, { similarity, ...rest }?: FakeVectorStoreArgs);\n /**\n * Method to add documents to the memory vector store. It extracts the\n * text from each document, generates embeddings for them, and adds the\n * resulting vectors to the store.\n * @param documents Array of `Document` instances to be added to the store.\n * @returns Promise that resolves when all documents have been added.\n */\n addDocuments(documents: Document[]): Promise<void>;\n /**\n * Method to add vectors to the memory vector store. It creates\n * `MemoryVector` instances for each vector and document pair and adds\n * them to the store.\n * @param vectors Array of vectors to be added to the store.\n * @param documents Array of `Document` instances corresponding to the vectors.\n * @returns Promise that resolves when all vectors have been added.\n */\n addVectors(vectors: number[][], documents: Document[]): Promise<void>;\n /**\n * Method to perform a similarity search in the memory vector store. It\n * calculates the similarity between the query vector and each vector in\n * the store, sorts the results by similarity, and returns the top `k`\n * results along with their scores.\n * @param query Query vector to compare against the vectors in the store.\n * @param k Number of top results to return.\n * @param filter Optional filter function to apply to the vectors before performing the search.\n * @returns Promise that resolves with an array of tuples, each containing a `Document` and its similarity score.\n */\n similaritySearchVectorWithScore(query: number[], k: number, filter?: this[\"FilterType\"]): Promise<[Document, number][]>;\n /**\n * Static method to create a `FakeVectorStore` instance from an array of\n * texts. It creates a `Document` for each text and metadata pair, and\n * adds them to the store.\n * @param texts Array of texts to be added to the store.\n * @param metadatas Array or single object of metadata corresponding to the texts.\n * @param embeddings `Embeddings` instance used to generate embeddings for the texts.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromTexts(texts: string[], metadatas: object[] | object, embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n /**\n * Static method to create a `FakeVectorStore` instance from an array of\n * `Document` instances. It adds the documents to the store.\n * @param docs Array of `Document` instances to be added to the store.\n * @param embeddings `Embeddings` instance used to generate embeddings for the documents.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromDocuments(docs: Document[], embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n /**\n * Static method to create a `FakeVectorStore` instance from an existing\n * index. It creates a new `FakeVectorStore` instance without adding any\n * documents or vectors.\n * @param embeddings `Embeddings` instance used to generate embeddings for the documents.\n * @param dbConfig Optional `FakeVectorStoreArgs` to configure the `FakeVectorStore` instance.\n * @returns Promise that resolves with a new `FakeVectorStore` instance.\n */\n static fromExistingIndex(embeddings: EmbeddingsInterface, dbConfig?: FakeVectorStoreArgs): Promise<FakeVectorStore>;\n}\nexport {};\n"],"mappings":";;;;;;;;;AAGwD;AAiBxD;AAQA;UAnBUI,YAAAA,CAmB0B;EAAA,OACdJ,EAAAA,MAAAA;EAAQ,SACXI,EAAAA,MAAAA,EAAAA;EAAY;EACF,QAEDH,EApBdI,MAoBcJ,CAAAA,MAAAA,EAAAA,GAAAA,CAAAA;;;;;;;AA4B2ED,UAzCtFM,mBAAAA,CAyCsFN;EAAQ,UAAjBS,CAAAA,EAAAA,OAxCtEN,MAwCsEM;;;;;;;AAoBPH,cArDlEC,eAAAA,SAAwBL,WAAAA,CAqD0CI;EAAmB,UAAWC,EAAAA,CAAAA,GAAAA,EApD/FP,QAoD+FO,EAAAA,GAAAA,OAAAA;EAAe,aAAvBE,EAnD1FL,YAmD0FK,EAAAA;EAAO,UAS3ER,EAAAA,OA3DlBE,MA2DkBF;EAAmB,gBAAaK,CAAAA,CAAAA,EAAAA,MAAAA;EAAmB,WAAWC,CAAAA,UAAAA,EAzD3EN,mBAyD2EM,EAAAA;IAAAA,UAAAA;IAAAA,GAAAA;EAAAA,CAAAA,CAAAA,EAzD5BD,mBAyD4BC;EAAe;;AA9D9D;;;;;0BAa5BP,aAAaS;;;;;;;;;6CASMT,aAAaS;;;;;;;;;;;4FAWkCA,SAAST;;;;;;;;;;;8EAWvBC,gCAAgCK,sBAAsBG,QAAQF;;;;;;;;;6BAS/GP,wBAAwBC,gCAAgCK,sBAAsBG,QAAQF;;;;;;;;;uCAS5EN,gCAAgCK,sBAAsBG,QAAQF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tiktoken.d.cts","names":["Tiktoken","TiktokenEncoding","TiktokenModel","getEncoding","Promise","encodingForModel"],"sources":["../../src/utils/tiktoken.d.ts"],"sourcesContent":["import { Tiktoken, TiktokenEncoding, TiktokenModel } from \"js-tiktoken/lite\";\nexport declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;\nexport declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;\n"],"mappings":";;;iBACwBG,WAAAA,WAAsBF,mBAAmBG,QAAQJ;iBACjDK,gBAAAA,QAAwBH,gBAAgBE,QAAQJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tiktoken.d.ts","names":["Tiktoken","TiktokenEncoding","TiktokenModel","getEncoding","Promise","encodingForModel"],"sources":["../../src/utils/tiktoken.d.ts"],"sourcesContent":["import { Tiktoken, TiktokenEncoding, TiktokenModel } from \"js-tiktoken/lite\";\nexport declare function getEncoding(encoding: TiktokenEncoding): Promise<Tiktoken>;\nexport declare function encodingForModel(model: TiktokenModel): Promise<Tiktoken>;\n"],"mappings":";;;iBACwBG,WAAAA,WAAsBF,mBAAmBG,QAAQJ;iBACjDK,gBAAAA,QAAwBH,gBAAgBE,QAAQJ"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["StringWithAutocomplete","T","Record","InputValues","K","PartialValues","Promise","ChainValues"],"sources":["../../../src/utils/types/index.d.ts"],"sourcesContent":["export * from \"./zod.js\";\n/**\n * Represents a string value with autocompleted, but not required, suggestions.\n */\nexport type StringWithAutocomplete<T> = T | (string & Record<never, never>);\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type InputValues<K extends string = string> = Record<K, any>;\nexport type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ChainValues = Record<string, any>;\n"],"mappings":";;;;;;AAIA;AAAkC,KAAtBA,sBAAsB,CAAA,CAAA,CAAA,GAAMC,CAAN,GAAA,CAAA,MAAA,GAAoBC,MAApB,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;;AAAoBA,KAE1CC,WAF0CD,CAAAA,UAAAA,MAAAA,GAAAA,MAAAA,CAAAA,GAEDA,MAFCA,CAEME,CAFNF,EAAAA,GAAAA,CAAAA;AAAM,KAGhDG,aAHgD,CAAA,UAAA,MAAA,GAAA,MAAA,CAAA,GAGLH,MAHK,CAGEE,CAHF,EAAA,MAAA,GAAA,CAAA,GAAA,GAGqBE,OAHrB,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA,GAAA,GAAA,MAAA,CAAA,CAAA;AAE5D;AAAuB,KAGXC,WAAAA,GAAcL,MAHH,CAAA,MAAA,EAAA,GAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["StringWithAutocomplete","T","Record","InputValues","K","PartialValues","Promise","ChainValues"],"sources":["../../../src/utils/types/index.d.ts"],"sourcesContent":["export * from \"./zod.js\";\n/**\n * Represents a string value with autocompleted, but not required, suggestions.\n */\nexport type StringWithAutocomplete<T> = T | (string & Record<never, never>);\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type InputValues<K extends string = string> = Record<K, any>;\nexport type PartialValues<K extends string = string> = Record<K, string | (() => Promise<string>) | (() => string)>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ChainValues = Record<string, any>;\n"],"mappings":";;;;;;AAIA;AAAkC,KAAtBA,sBAAsB,CAAA,CAAA,CAAA,GAAMC,CAAN,GAAA,CAAA,MAAA,GAAoBC,MAApB,CAAA,KAAA,EAAA,KAAA,CAAA,CAAA;;AAAoBA,KAE1CC,WAF0CD,CAAAA,UAAAA,MAAAA,GAAAA,MAAAA,CAAAA,GAEDA,MAFCA,CAEME,CAFNF,EAAAA,GAAAA,CAAAA;AAAM,KAGhDG,aAHgD,CAAA,UAAA,MAAA,GAAA,MAAA,CAAA,GAGLH,MAHK,CAGEE,CAHF,EAAA,MAAA,GAAA,CAAA,GAAA,GAGqBE,OAHrB,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA,GAAA,GAAA,MAAA,CAAA,CAAA;AAE5D;AAAuB,KAGXC,WAAAA,GAAcL,MAHH,CAAA,MAAA,EAAA,GAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.cts","names":["z3","z4","ZodStringV3","ZodString","ZodStringV4","$ZodType","ZodObjectV3","ZodObject","ZodObjectV4","$ZodObject","ZodDefaultV3","ZodTypeAny","T","ZodDefault","ZodDefaultV4","SomeType","$ZodDefault","ZodOptionalV3","ZodOptional","ZodOptionalV4","$ZodOptional","InteropZodType","Output","ZodTypeDef","Input","ZodType","InteropZodObject","InteropZodDefault","InteropZodObjectShape","InteropZodOptional","Shape","K","InteropZodIssue","ZodIssue","$ZodIssue","InferInteropZodInput","InferInteropZodOutput","Mutable","P","isZodSchemaV4","isZodSchemaV3","isZodSchema","Record","RunOutput","isInteropZodSchema","InteropZodLiteral","ZodLiteral","$ZodLiteral","isZodLiteralV3","isZodLiteralV4","isInteropZodLiteral","InteropZodSafeParseResult","SafeParseReturnType","interopSafeParseAsync","Promise","interopParseAsync","interopSafeParse","interopParse","getSchemaDescription","isShapelessZodSchema","isSimpleStringZodSchema","isZodObjectV3","isZodObjectV4","isZodArrayV4","$ZodArray","isInteropZodObject","getInteropZodObjectShape","extendInteropZodObject","interopZodObjectPartial","interopZodObjectStrict","interopZodObjectPassthrough","getInteropZodDefaultGetter","interopZodTransformInputSchema","interopZodObjectMakeFieldsOptional"],"sources":["../../../src/utils/types/zod.d.ts"],"sourcesContent":["import type * as z3 from \"zod/v3\";\nimport type * as z4 from \"zod/v4/core\";\nexport type ZodStringV3 = z3.ZodString;\nexport type ZodStringV4 = z4.$ZodType<string, unknown>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ZodObjectV3 = z3.ZodObject<any, any, any, any>;\nexport type ZodObjectV4 = z4.$ZodObject;\nexport type ZodDefaultV3<T extends z3.ZodTypeAny> = z3.ZodDefault<T>;\nexport type ZodDefaultV4<T extends z4.SomeType> = z4.$ZodDefault<T>;\nexport type ZodOptionalV3<T extends z3.ZodTypeAny> = z3.ZodOptional<T>;\nexport type ZodOptionalV4<T extends z4.SomeType> = z4.$ZodOptional<T>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type InteropZodType<Output = any, Input = Output> = z3.ZodType<Output, z3.ZodTypeDef, Input> | z4.$ZodType<Output, Input>;\nexport type InteropZodObject = ZodObjectV3 | ZodObjectV4;\nexport type InteropZodDefault<T = InteropZodObjectShape> = T extends z3.ZodTypeAny ? ZodDefaultV3<T> : T extends z4.SomeType ? ZodDefaultV4<T> : never;\nexport type InteropZodOptional<T = InteropZodObjectShape> = T extends z3.ZodTypeAny ? ZodOptionalV3<T> : T extends z4.SomeType ? ZodOptionalV4<T> : never;\nexport type InteropZodObjectShape<T extends InteropZodObject = InteropZodObject> = T extends z3.ZodObject<infer Shape> ? {\n [K in keyof Shape]: Shape[K];\n} : T extends z4.$ZodObject<infer Shape> ? {\n [K in keyof Shape]: Shape[K];\n} : never;\nexport type InteropZodIssue = z3.ZodIssue | z4.$ZodIssue;\n// Simplified type inference to avoid circular dependencies\nexport type InferInteropZodInput<T> = T extends z3.ZodType<unknown, z3.ZodTypeDef, infer Input> ? Input : T extends z4.$ZodType<unknown, infer Input> ? Input : T extends {\n _zod: {\n input: infer Input;\n };\n} ? Input : never;\nexport type InferInteropZodOutput<T> = T extends z3.ZodType<infer Output, z3.ZodTypeDef, unknown> ? Output : T extends z4.$ZodType<infer Output, unknown> ? Output : T extends {\n _zod: {\n output: infer Output;\n };\n} ? Output : never;\nexport type Mutable<T> = {\n -readonly [P in keyof T]: T[P];\n};\nexport declare function isZodSchemaV4(schema: unknown): schema is z4.$ZodType<unknown, unknown>;\nexport declare function isZodSchemaV3(schema: unknown): schema is z3.ZodType<unknown, z3.ZodTypeDef, unknown>;\n/** Backward compatible isZodSchema for Zod 3 */\nexport declare function isZodSchema<RunOutput extends Record<string, unknown> = Record<string, unknown>>(schema: z3.ZodType<RunOutput> | Record<string, unknown>): schema is z3.ZodType<RunOutput>;\n/**\n * Given either a Zod schema, or plain object, determine if the input is a Zod schema.\n *\n * @param {unknown} input\n * @returns {boolean} Whether or not the provided input is a Zod schema.\n */\nexport declare function isInteropZodSchema(input: unknown): input is InteropZodType;\nexport type InteropZodLiteral = z3.ZodLiteral<unknown> | z4.$ZodLiteral;\nexport declare function isZodLiteralV3(obj: unknown): obj is z3.ZodLiteral<unknown>;\nexport declare function isZodLiteralV4(obj: unknown): obj is z4.$ZodLiteral;\n/**\n * Determines if the provided value is an InteropZodLiteral (Zod v3 or v4 literal schema).\n *\n * @param obj The value to check.\n * @returns {boolean} True if the value is a Zod v3 or v4 literal schema, false otherwise.\n */\nexport declare function isInteropZodLiteral(obj: unknown): obj is InteropZodLiteral;\ntype InteropZodSafeParseResult<T> = z3.SafeParseReturnType<T, T>;\n/**\n * Asynchronously parses the input using the provided Zod schema (v3 or v4) and returns a safe parse result.\n * This function handles both Zod v3 and v4 schemas, returning a result object indicating success or failure.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {Promise<InteropZodSafeParseResult<T>>} A promise that resolves to a safe parse result object.\n * @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopSafeParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<InteropZodSafeParseResult<T>>;\n/**\n * Asynchronously parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.\n * Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {Promise<T>} A promise that resolves to the parsed value.\n * @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<T>;\n/**\n * Safely parses the input using the provided Zod schema (v3 or v4) and returns a result object\n * indicating success or failure. This function is compatible with both Zod v3 and v4 schemas.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {InteropZodSafeParseResult<T>} An object with either the parsed data (on success)\n * or the error (on failure).\n * @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopSafeParse<T>(schema: InteropZodType<T>, input: unknown): InteropZodSafeParseResult<T>;\n/**\n * Parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.\n * Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {T} The parsed value.\n * @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopParse<T>(schema: InteropZodType<T>, input: unknown): T;\n/**\n * Retrieves the description from a schema definition (v3, v4, or plain object), if available.\n *\n * @param {unknown} schema - The schema to extract the description from.\n * @returns {string | undefined} The description of the schema, or undefined if not present.\n */\nexport declare function getSchemaDescription(schema: InteropZodType<unknown> | Record<string, unknown>): string | undefined;\n/**\n * Determines if the provided Zod schema is \"shapeless\".\n * A shapeless schema is one that does not define any object shape,\n * such as ZodString, ZodNumber, ZodBoolean, ZodAny, etc.\n * For ZodObject, it must have no shape keys to be considered shapeless.\n * ZodRecord schemas are considered shapeless since they define dynamic\n * key-value mappings without fixed keys.\n *\n * @param schema The Zod schema to check.\n * @returns {boolean} True if the schema is shapeless, false otherwise.\n */\nexport declare function isShapelessZodSchema(schema: unknown): boolean;\n/**\n * Determines if the provided Zod schema should be treated as a simple string schema\n * that maps to DynamicTool. This aligns with the type-level constraint of\n * InteropZodType<string | undefined> which only matches basic string schemas.\n * If the provided schema is just z.string(), we can make the determination that\n * the tool is just a generic string tool that doesn't require any input validation.\n *\n * This function only returns true for basic ZodString schemas, including:\n * - Basic string schemas (z.string())\n * - String schemas with validations (z.string().min(1), z.string().email(), etc.)\n *\n * This function returns false for everything else, including:\n * - String schemas with defaults (z.string().default(\"value\"))\n * - Branded string schemas (z.string().brand<\"UserId\">())\n * - String schemas with catch operations (z.string().catch(\"default\"))\n * - Optional/nullable string schemas (z.string().optional())\n * - Transformed schemas (z.string().transform() or z.object().transform())\n * - Object or record schemas, even if they're empty\n * - Any other schema type\n *\n * @param schema The Zod schema to check.\n * @returns {boolean} True if the schema is a basic ZodString, false otherwise.\n */\nexport declare function isSimpleStringZodSchema(schema: unknown): schema is InteropZodType<string | undefined>;\nexport declare function isZodObjectV3(obj: unknown): obj is ZodObjectV3;\nexport declare function isZodObjectV4(obj: unknown): obj is z4.$ZodObject;\nexport declare function isZodArrayV4(obj: unknown): obj is z4.$ZodArray;\n/**\n * Determines if the provided value is an InteropZodObject (Zod v3 or v4 object schema).\n *\n * @param obj The value to check.\n * @returns {boolean} True if the value is a Zod v3 or v4 object schema, false otherwise.\n */\nexport declare function isInteropZodObject(obj: unknown): obj is InteropZodObject;\n/**\n * Retrieves the shape (fields) of a Zod object schema, supporting both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @returns {InteropZodObjectShape<T>} The shape of the object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function getInteropZodObjectShape<T extends InteropZodObject>(schema: T): InteropZodObjectShape<T>;\n/**\n * Extends a Zod object schema with additional fields, supporting both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {InteropZodObjectShape} extension - The fields to add to the schema.\n * @returns {InteropZodObject} The extended Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function extendInteropZodObject<T extends InteropZodObject>(schema: T, extension: InteropZodObjectShape): InteropZodObject;\n/**\n * Returns a partial version of a Zod object schema, making all fields optional.\n * Supports both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @returns {InteropZodObject} The partial Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectPartial<T extends InteropZodObject>(schema: T): InteropZodObject;\n/**\n * Returns a strict version of a Zod object schema, disallowing unknown keys.\n * Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies strictness\n * recursively to all nested object schemas and arrays of object schemas.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {boolean} [recursive=false] - Whether to apply strictness recursively to nested objects/arrays.\n * @returns {InteropZodObject} The strict Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectStrict<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;\n/**\n * Returns a passthrough version of a Zod object schema, allowing unknown keys.\n * Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies passthrough\n * recursively to all nested object schemas and arrays of object schemas.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {boolean} [recursive=false] - Whether to apply passthrough recursively to nested objects/arrays.\n * @returns {InteropZodObject} The passthrough Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectPassthrough<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;\n/**\n * Returns a getter function for the default value of a Zod schema, if one is defined.\n * Supports both Zod v3 and v4 schemas. If the schema has a default value,\n * the returned function will return that value when called. If no default is defined,\n * returns undefined.\n *\n * @template T - The type of the Zod schema.\n * @param {T} schema - The Zod schema instance (either v3 or v4).\n * @returns {(() => InferInteropZodOutput<T>) | undefined} A function that returns the default value, or undefined if no default is set.\n */\nexport declare function getInteropZodDefaultGetter<T extends InteropZodType>(schema: T): (() => InferInteropZodOutput<T>) | undefined;\n/**\n * Returns the input type of a Zod transform schema, for both v3 and v4.\n * If the schema is not a transform, returns undefined. If `recursive` is true,\n * recursively processes nested object schemas and arrays of object schemas.\n *\n * @param schema - The Zod schema instance (v3 or v4)\n * @param {boolean} [recursive=false] - Whether to recursively process nested objects/arrays.\n * @returns The input Zod schema of the transform, or undefined if not a transform\n */\nexport declare function interopZodTransformInputSchema(schema: InteropZodType, recursive?: boolean): InteropZodType;\n/**\n * Creates a modified version of a Zod object schema where fields matching a predicate are made optional.\n * Supports both Zod v3 and v4 schemas and preserves the original schema version.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {(key: string, value: InteropZodType) => boolean} predicate - Function to determine which fields should be optional.\n * @returns {InteropZodObject} The modified Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectMakeFieldsOptional<T extends InteropZodObject>(schema: T, predicate: (key: string, value: InteropZodType) => boolean): InteropZodObject;\nexport {};\n"],"mappings":";;;;KAEYE,WAAAA,GAAcF,EAAAA,CAAGG;KACjBC,WAAAA,GAAcH,EAAAA,CAAGI;AAD7B;AACYD,KAEAE,WAAAA,GAAcN,EAAAA,CAAGO,SAFAF,CAAAA,GAAQ,EAAA,GAAA,EAAA,GAAA,EAAA,GAAA,CAAA;AAEzBC,KACAE,WAAAA,GAAcP,EAAAA,CAAGQ,UADAF;AACjBC,KACAE,YADW,CAAA,UACYV,EAAAA,CAAGW,UADC,CAAA,GACaX,EAAAA,CAAGa,UADhB,CAC2BD,CAD3B,CAAA;AAC3BF,KACAI,YADY,CAAA,UACWb,EAAAA,CAAGc,QADd,CAAA,GAC0Bd,EAAAA,CAAGe,WAD7B,CACyCJ,CADzC,CAAA;AAAA,KAEZK,aAFY,CAAA,UAEYjB,EAAAA,CAAGW,UAFf,CAAA,GAE6BX,EAAAA,CAAGkB,WAFhC,CAE4CN,CAF5C,CAAA;AAAWZ,KAGvBmB,aAH0BR,CAAAA,UAGFV,EAAAA,CAAGc,QAHDJ,CAAAA,GAGaV,EAAAA,CAAGmB,YAHhBT,CAG6BC,CAH7BD,CAAAA;;AAAcX,KAKxCqB,cAL2CR,CAAAA,SAAAA,GAAAA,EAAAA,QAKNS,MALMT,CAAAA,GAKIb,EAAAA,CAAGyB,OALPZ,CAKeS,MALfT,EAKuBb,EAAAA,CAAGuB,UAL1BV,EAKsCW,KALtCX,CAAAA,GAK+CZ,EAAAA,CAAGI,QALlDQ,CAK2DS,MAL3DT,EAKmEW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X2B,CAAA,UAWUlD,cAXV,CAAA,CAAA,MAAA,EAWkCT,CAXlC,CAAA,EAAA,CAAA,GAAA,GAW6CwB,qBAX7C,CAWmExB,CAXnE,CAAA,CAAA,GAAA,SAAA;;;;AAA8E;AAWjI;;;;;AAAgGwB,iBAUxEoC,8BAAAA,CAVwEpC,MAAAA,EAUjCf,cAViCe,EAAAA,SAAAA,CAAAA,EAAAA,OAAAA,CAAAA,EAUKf,cAVLe;AAAqB;AAUrH;;;;AAAmH;AAWnH;;;;AAAkIf,iBAA1GoD,kCAA0GpD,CAAAA,UAA7DK,gBAA6DL,CAAAA,CAAAA,MAAAA,EAAnCT,CAAmCS,EAAAA,SAAAA,EAAAA,CAAAA,GAAAA,EAAAA,MAAAA,EAAAA,KAAAA,EAAAA,cAAAA,EAAAA,GAAAA,OAAAA,CAAAA,EAA6BK,gBAA7BL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","names":["z3","z4","ZodStringV3","ZodString","ZodStringV4","$ZodType","ZodObjectV3","ZodObject","ZodObjectV4","$ZodObject","ZodDefaultV3","ZodTypeAny","T","ZodDefault","ZodDefaultV4","SomeType","$ZodDefault","ZodOptionalV3","ZodOptional","ZodOptionalV4","$ZodOptional","InteropZodType","Output","ZodTypeDef","Input","ZodType","InteropZodObject","InteropZodDefault","InteropZodObjectShape","InteropZodOptional","Shape","K","InteropZodIssue","ZodIssue","$ZodIssue","InferInteropZodInput","InferInteropZodOutput","Mutable","P","isZodSchemaV4","isZodSchemaV3","isZodSchema","Record","RunOutput","isInteropZodSchema","InteropZodLiteral","ZodLiteral","$ZodLiteral","isZodLiteralV3","isZodLiteralV4","isInteropZodLiteral","InteropZodSafeParseResult","SafeParseReturnType","interopSafeParseAsync","Promise","interopParseAsync","interopSafeParse","interopParse","getSchemaDescription","isShapelessZodSchema","isSimpleStringZodSchema","isZodObjectV3","isZodObjectV4","isZodArrayV4","$ZodArray","isInteropZodObject","getInteropZodObjectShape","extendInteropZodObject","interopZodObjectPartial","interopZodObjectStrict","interopZodObjectPassthrough","getInteropZodDefaultGetter","interopZodTransformInputSchema","interopZodObjectMakeFieldsOptional"],"sources":["../../../src/utils/types/zod.d.ts"],"sourcesContent":["import type * as z3 from \"zod/v3\";\nimport type * as z4 from \"zod/v4/core\";\nexport type ZodStringV3 = z3.ZodString;\nexport type ZodStringV4 = z4.$ZodType<string, unknown>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type ZodObjectV3 = z3.ZodObject<any, any, any, any>;\nexport type ZodObjectV4 = z4.$ZodObject;\nexport type ZodDefaultV3<T extends z3.ZodTypeAny> = z3.ZodDefault<T>;\nexport type ZodDefaultV4<T extends z4.SomeType> = z4.$ZodDefault<T>;\nexport type ZodOptionalV3<T extends z3.ZodTypeAny> = z3.ZodOptional<T>;\nexport type ZodOptionalV4<T extends z4.SomeType> = z4.$ZodOptional<T>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type InteropZodType<Output = any, Input = Output> = z3.ZodType<Output, z3.ZodTypeDef, Input> | z4.$ZodType<Output, Input>;\nexport type InteropZodObject = ZodObjectV3 | ZodObjectV4;\nexport type InteropZodDefault<T = InteropZodObjectShape> = T extends z3.ZodTypeAny ? ZodDefaultV3<T> : T extends z4.SomeType ? ZodDefaultV4<T> : never;\nexport type InteropZodOptional<T = InteropZodObjectShape> = T extends z3.ZodTypeAny ? ZodOptionalV3<T> : T extends z4.SomeType ? ZodOptionalV4<T> : never;\nexport type InteropZodObjectShape<T extends InteropZodObject = InteropZodObject> = T extends z3.ZodObject<infer Shape> ? {\n [K in keyof Shape]: Shape[K];\n} : T extends z4.$ZodObject<infer Shape> ? {\n [K in keyof Shape]: Shape[K];\n} : never;\nexport type InteropZodIssue = z3.ZodIssue | z4.$ZodIssue;\n// Simplified type inference to avoid circular dependencies\nexport type InferInteropZodInput<T> = T extends z3.ZodType<unknown, z3.ZodTypeDef, infer Input> ? Input : T extends z4.$ZodType<unknown, infer Input> ? Input : T extends {\n _zod: {\n input: infer Input;\n };\n} ? Input : never;\nexport type InferInteropZodOutput<T> = T extends z3.ZodType<infer Output, z3.ZodTypeDef, unknown> ? Output : T extends z4.$ZodType<infer Output, unknown> ? Output : T extends {\n _zod: {\n output: infer Output;\n };\n} ? Output : never;\nexport type Mutable<T> = {\n -readonly [P in keyof T]: T[P];\n};\nexport declare function isZodSchemaV4(schema: unknown): schema is z4.$ZodType<unknown, unknown>;\nexport declare function isZodSchemaV3(schema: unknown): schema is z3.ZodType<unknown, z3.ZodTypeDef, unknown>;\n/** Backward compatible isZodSchema for Zod 3 */\nexport declare function isZodSchema<RunOutput extends Record<string, unknown> = Record<string, unknown>>(schema: z3.ZodType<RunOutput> | Record<string, unknown>): schema is z3.ZodType<RunOutput>;\n/**\n * Given either a Zod schema, or plain object, determine if the input is a Zod schema.\n *\n * @param {unknown} input\n * @returns {boolean} Whether or not the provided input is a Zod schema.\n */\nexport declare function isInteropZodSchema(input: unknown): input is InteropZodType;\nexport type InteropZodLiteral = z3.ZodLiteral<unknown> | z4.$ZodLiteral;\nexport declare function isZodLiteralV3(obj: unknown): obj is z3.ZodLiteral<unknown>;\nexport declare function isZodLiteralV4(obj: unknown): obj is z4.$ZodLiteral;\n/**\n * Determines if the provided value is an InteropZodLiteral (Zod v3 or v4 literal schema).\n *\n * @param obj The value to check.\n * @returns {boolean} True if the value is a Zod v3 or v4 literal schema, false otherwise.\n */\nexport declare function isInteropZodLiteral(obj: unknown): obj is InteropZodLiteral;\ntype InteropZodSafeParseResult<T> = z3.SafeParseReturnType<T, T>;\n/**\n * Asynchronously parses the input using the provided Zod schema (v3 or v4) and returns a safe parse result.\n * This function handles both Zod v3 and v4 schemas, returning a result object indicating success or failure.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {Promise<InteropZodSafeParseResult<T>>} A promise that resolves to a safe parse result object.\n * @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopSafeParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<InteropZodSafeParseResult<T>>;\n/**\n * Asynchronously parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.\n * Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {Promise<T>} A promise that resolves to the parsed value.\n * @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<T>;\n/**\n * Safely parses the input using the provided Zod schema (v3 or v4) and returns a result object\n * indicating success or failure. This function is compatible with both Zod v3 and v4 schemas.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {InteropZodSafeParseResult<T>} An object with either the parsed data (on success)\n * or the error (on failure).\n * @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopSafeParse<T>(schema: InteropZodType<T>, input: unknown): InteropZodSafeParseResult<T>;\n/**\n * Parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.\n * Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.\n *\n * @template T - The expected output type of the schema.\n * @param {InteropZodType<T>} schema - The Zod schema (v3 or v4) to use for parsing.\n * @param {unknown} input - The input value to parse.\n * @returns {T} The parsed value.\n * @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.\n */\nexport declare function interopParse<T>(schema: InteropZodType<T>, input: unknown): T;\n/**\n * Retrieves the description from a schema definition (v3, v4, or plain object), if available.\n *\n * @param {unknown} schema - The schema to extract the description from.\n * @returns {string | undefined} The description of the schema, or undefined if not present.\n */\nexport declare function getSchemaDescription(schema: InteropZodType<unknown> | Record<string, unknown>): string | undefined;\n/**\n * Determines if the provided Zod schema is \"shapeless\".\n * A shapeless schema is one that does not define any object shape,\n * such as ZodString, ZodNumber, ZodBoolean, ZodAny, etc.\n * For ZodObject, it must have no shape keys to be considered shapeless.\n * ZodRecord schemas are considered shapeless since they define dynamic\n * key-value mappings without fixed keys.\n *\n * @param schema The Zod schema to check.\n * @returns {boolean} True if the schema is shapeless, false otherwise.\n */\nexport declare function isShapelessZodSchema(schema: unknown): boolean;\n/**\n * Determines if the provided Zod schema should be treated as a simple string schema\n * that maps to DynamicTool. This aligns with the type-level constraint of\n * InteropZodType<string | undefined> which only matches basic string schemas.\n * If the provided schema is just z.string(), we can make the determination that\n * the tool is just a generic string tool that doesn't require any input validation.\n *\n * This function only returns true for basic ZodString schemas, including:\n * - Basic string schemas (z.string())\n * - String schemas with validations (z.string().min(1), z.string().email(), etc.)\n *\n * This function returns false for everything else, including:\n * - String schemas with defaults (z.string().default(\"value\"))\n * - Branded string schemas (z.string().brand<\"UserId\">())\n * - String schemas with catch operations (z.string().catch(\"default\"))\n * - Optional/nullable string schemas (z.string().optional())\n * - Transformed schemas (z.string().transform() or z.object().transform())\n * - Object or record schemas, even if they're empty\n * - Any other schema type\n *\n * @param schema The Zod schema to check.\n * @returns {boolean} True if the schema is a basic ZodString, false otherwise.\n */\nexport declare function isSimpleStringZodSchema(schema: unknown): schema is InteropZodType<string | undefined>;\nexport declare function isZodObjectV3(obj: unknown): obj is ZodObjectV3;\nexport declare function isZodObjectV4(obj: unknown): obj is z4.$ZodObject;\nexport declare function isZodArrayV4(obj: unknown): obj is z4.$ZodArray;\n/**\n * Determines if the provided value is an InteropZodObject (Zod v3 or v4 object schema).\n *\n * @param obj The value to check.\n * @returns {boolean} True if the value is a Zod v3 or v4 object schema, false otherwise.\n */\nexport declare function isInteropZodObject(obj: unknown): obj is InteropZodObject;\n/**\n * Retrieves the shape (fields) of a Zod object schema, supporting both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @returns {InteropZodObjectShape<T>} The shape of the object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function getInteropZodObjectShape<T extends InteropZodObject>(schema: T): InteropZodObjectShape<T>;\n/**\n * Extends a Zod object schema with additional fields, supporting both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {InteropZodObjectShape} extension - The fields to add to the schema.\n * @returns {InteropZodObject} The extended Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function extendInteropZodObject<T extends InteropZodObject>(schema: T, extension: InteropZodObjectShape): InteropZodObject;\n/**\n * Returns a partial version of a Zod object schema, making all fields optional.\n * Supports both Zod v3 and v4.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @returns {InteropZodObject} The partial Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectPartial<T extends InteropZodObject>(schema: T): InteropZodObject;\n/**\n * Returns a strict version of a Zod object schema, disallowing unknown keys.\n * Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies strictness\n * recursively to all nested object schemas and arrays of object schemas.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {boolean} [recursive=false] - Whether to apply strictness recursively to nested objects/arrays.\n * @returns {InteropZodObject} The strict Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectStrict<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;\n/**\n * Returns a passthrough version of a Zod object schema, allowing unknown keys.\n * Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies passthrough\n * recursively to all nested object schemas and arrays of object schemas.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {boolean} [recursive=false] - Whether to apply passthrough recursively to nested objects/arrays.\n * @returns {InteropZodObject} The passthrough Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectPassthrough<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;\n/**\n * Returns a getter function for the default value of a Zod schema, if one is defined.\n * Supports both Zod v3 and v4 schemas. If the schema has a default value,\n * the returned function will return that value when called. If no default is defined,\n * returns undefined.\n *\n * @template T - The type of the Zod schema.\n * @param {T} schema - The Zod schema instance (either v3 or v4).\n * @returns {(() => InferInteropZodOutput<T>) | undefined} A function that returns the default value, or undefined if no default is set.\n */\nexport declare function getInteropZodDefaultGetter<T extends InteropZodType>(schema: T): (() => InferInteropZodOutput<T>) | undefined;\n/**\n * Returns the input type of a Zod transform schema, for both v3 and v4.\n * If the schema is not a transform, returns undefined. If `recursive` is true,\n * recursively processes nested object schemas and arrays of object schemas.\n *\n * @param schema - The Zod schema instance (v3 or v4)\n * @param {boolean} [recursive=false] - Whether to recursively process nested objects/arrays.\n * @returns The input Zod schema of the transform, or undefined if not a transform\n */\nexport declare function interopZodTransformInputSchema(schema: InteropZodType, recursive?: boolean): InteropZodType;\n/**\n * Creates a modified version of a Zod object schema where fields matching a predicate are made optional.\n * Supports both Zod v3 and v4 schemas and preserves the original schema version.\n *\n * @template T - The type of the Zod object schema.\n * @param {T} schema - The Zod object schema instance (either v3 or v4).\n * @param {(key: string, value: InteropZodType) => boolean} predicate - Function to determine which fields should be optional.\n * @returns {InteropZodObject} The modified Zod object schema.\n * @throws {Error} If the schema is not a Zod v3 or v4 object.\n */\nexport declare function interopZodObjectMakeFieldsOptional<T extends InteropZodObject>(schema: T, predicate: (key: string, value: InteropZodType) => boolean): InteropZodObject;\nexport {};\n"],"mappings":";;;;KAEYE,WAAAA,GAAcF,EAAAA,CAAGG;KACjBC,WAAAA,GAAcH,EAAAA,CAAGI;AAD7B;AACYD,KAEAE,WAAAA,GAAcN,EAAAA,CAAGO,SAFAF,CAAAA,GAAQ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,MAAAA,EAAAA,KAAAA,EAAAA,cAAAA,EAAAA,GAAAA,OAAAA,CAAAA,EAA6BK,gBAA7BL"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.d.cts","names":["JsonSchema7TypeUnion","Refs","ErrorMessages","T","OmitProperties","Omit","Partial","addErrorMessage","setResponseValueAndErrors","Json7Type","Key"],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.d.ts"],"sourcesContent":["import { JsonSchema7TypeUnion } from \"./parseTypes.js\";\nimport { Refs } from \"./Refs.js\";\nexport type ErrorMessages<T extends JsonSchema7TypeUnion | {\n format: string;\n} | {\n pattern: string;\n}, OmitProperties extends string = \"\"> = Partial<Omit<{\n [key in keyof T]: string;\n}, OmitProperties | \"type\" | \"errorMessages\">>;\nexport declare function addErrorMessage<T extends {\n errorMessage?: ErrorMessages<any>;\n}>(res: T, key: keyof T, errorMessage: string | undefined, refs: Refs): void;\nexport declare function setResponseValueAndErrors<Json7Type extends JsonSchema7TypeUnion & {\n errorMessage?: ErrorMessages<Json7Type>;\n}, Key extends keyof Omit<Json7Type, \"errorMessage\">>(res: Json7Type, key: Key, value: Json7Type[Key], errorMessage: string | undefined, refs: Refs): void;\n"],"mappings":";;;KAEYE,wBAAwBF;EAAxBE,MAAAA,EAAAA,MAAAA;CAAa,GAAA;EAAA,OAAWF,EAAAA,MAAAA;CAAoB,EAAA,uBAKtCG,MAAAA,GAAAA,EAAAA,CAAAA,GADuBG,OACvBH,CAD+BE,IAC/BF,CAAAA,UACfC,MADeD,CACfC,GAAAA,MAAAA,EAAc,EAAdA,cAF8CC,GAAAA,MAAAA,GAAAA,eAAAA,CAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.d.ts","names":["JsonSchema7TypeUnion","Refs","ErrorMessages","T","OmitProperties","Omit","Partial","addErrorMessage","setResponseValueAndErrors","Json7Type","Key"],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.d.ts"],"sourcesContent":["import { JsonSchema7TypeUnion } from \"./parseTypes.js\";\nimport { Refs } from \"./Refs.js\";\nexport type ErrorMessages<T extends JsonSchema7TypeUnion | {\n format: string;\n} | {\n pattern: string;\n}, OmitProperties extends string = \"\"> = Partial<Omit<{\n [key in keyof T]: string;\n}, OmitProperties | \"type\" | \"errorMessages\">>;\nexport declare function addErrorMessage<T extends {\n errorMessage?: ErrorMessages<any>;\n}>(res: T, key: keyof T, errorMessage: string | undefined, refs: Refs): void;\nexport declare function setResponseValueAndErrors<Json7Type extends JsonSchema7TypeUnion & {\n errorMessage?: ErrorMessages<Json7Type>;\n}, Key extends keyof Omit<Json7Type, \"errorMessage\">>(res: Json7Type, key: Key, value: Json7Type[Key], errorMessage: string | undefined, refs: Refs): void;\n"],"mappings":";;;KAEYE,wBAAwBF;EAAxBE,MAAAA,EAAAA,MAAAA;CAAa,GAAA;EAAA,OAAWF,EAAAA,MAAAA;CAAoB,EAAA,uBAKtCG,MAAAA,GAAAA,EAAAA,CAAAA,GADuBG,OACvBH,CAD+BE,IAC/BF,CAAAA,UACfC,MADeD,CACfC,GAAAA,MAAAA,EAAc,EAAdA,cAF8CC,GAAAA,MAAAA,GAAAA,eAAAA,CAAAA,CAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseTypes.d.cts","names":["JsonSchema7AnyType","JsonSchema7ArrayType","JsonSchema7BigintType","JsonSchema7BooleanType","JsonSchema7DateType","JsonSchema7EnumType","JsonSchema7AllOfType","JsonSchema7LiteralType","JsonSchema7MapType","JsonSchema7NativeEnumType","JsonSchema7NeverType","JsonSchema7NullType","JsonSchema7NullableType","JsonSchema7NumberType","JsonSchema7ObjectType","JsonSchema7RecordType","JsonSchema7SetType","JsonSchema7StringType","JsonSchema7TupleType","JsonSchema7UndefinedType","JsonSchema7UnionType","JsonSchema7UnknownType","JsonSchema7RefType","JsonSchema7Meta","JsonSchema7TypeUnion","JsonSchema7Type"],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.d.ts"],"sourcesContent":["import { JsonSchema7AnyType } from \"./parsers/any.js\";\nimport { JsonSchema7ArrayType } from \"./parsers/array.js\";\nimport { JsonSchema7BigintType } from \"./parsers/bigint.js\";\nimport { JsonSchema7BooleanType } from \"./parsers/boolean.js\";\nimport { JsonSchema7DateType } from \"./parsers/date.js\";\nimport { JsonSchema7EnumType } from \"./parsers/enum.js\";\nimport { JsonSchema7AllOfType } from \"./parsers/intersection.js\";\nimport { JsonSchema7LiteralType } from \"./parsers/literal.js\";\nimport { JsonSchema7MapType } from \"./parsers/map.js\";\nimport { JsonSchema7NativeEnumType } from \"./parsers/nativeEnum.js\";\nimport { JsonSchema7NeverType } from \"./parsers/never.js\";\nimport { JsonSchema7NullType } from \"./parsers/null.js\";\nimport { JsonSchema7NullableType } from \"./parsers/nullable.js\";\nimport { JsonSchema7NumberType } from \"./parsers/number.js\";\nimport { JsonSchema7ObjectType } from \"./parsers/object.js\";\nimport { JsonSchema7RecordType } from \"./parsers/record.js\";\nimport { JsonSchema7SetType } from \"./parsers/set.js\";\nimport { JsonSchema7StringType } from \"./parsers/string.js\";\nimport { JsonSchema7TupleType } from \"./parsers/tuple.js\";\nimport { JsonSchema7UndefinedType } from \"./parsers/undefined.js\";\nimport { JsonSchema7UnionType } from \"./parsers/union.js\";\nimport { JsonSchema7UnknownType } from \"./parsers/unknown.js\";\ntype JsonSchema7RefType = {\n $ref: string;\n};\ntype JsonSchema7Meta = {\n title?: string;\n default?: any;\n description?: string;\n markdownDescription?: string;\n};\nexport type JsonSchema7TypeUnion = JsonSchema7StringType | JsonSchema7ArrayType | JsonSchema7NumberType | JsonSchema7BigintType | JsonSchema7BooleanType | JsonSchema7DateType | JsonSchema7EnumType | JsonSchema7LiteralType | JsonSchema7NativeEnumType | JsonSchema7NullType | JsonSchema7NumberType | JsonSchema7ObjectType | JsonSchema7RecordType | JsonSchema7TupleType | JsonSchema7UnionType | JsonSchema7UndefinedType | JsonSchema7RefType | JsonSchema7NeverType | JsonSchema7MapType | JsonSchema7AnyType | JsonSchema7NullableType | JsonSchema7AllOfType | JsonSchema7UnknownType | JsonSchema7SetType;\nexport type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;KAsBKsB,kBAAAA;;AADyD,CAAA;AACvC,KAGlBC,eAAAA,GAAe;EAMRC,KAAAA,CAAAA,EAAAA,MAAAA;EAAoB,OAAA,CAAA,EAAA,GAAA;EAAA,WAAGP,CAAAA,EAAAA,MAAAA;EAAqB,mBAAGhB,CAAAA,EAAAA,MAAAA;CAAoB;AAA2BC,KAA9FsB,oBAAAA,GAAuBP,qBAAuEf,GAA/CD,oBAA+CC,GAAxBW,qBAAwBX,GAAAA,qBAAAA,GAAwBC,sBAAxBD,GAAiDE,mBAAjDF,GAAuEG,mBAAvEH,GAA6FK,sBAA7FL,GAAsHO,yBAAtHP,GAAkJS,mBAAlJT,GAAwKW,qBAAxKX,GAAgMY,qBAAhMZ,GAAwNa,qBAAxNb,GAAgPgB,oBAAhPhB,GAAuQkB,oBAAvQlB,GAA8RiB,wBAA9RjB,GAAyToB,kBAAzTpB,GAA8UQ,oBAA9UR,GAAqWM,kBAArWN,GAA0XF,kBAA1XE,GAA+YU,uBAA/YV,GAAyaI,oBAAzaJ,GAAgcmB,sBAAhcnB,GAAydc,kBAAzdd;AAAwBC,KACtHsB,eAAAA,GAAkBD,oBADoGrB,GAC7EoB,eAD6EpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseTypes.d.ts","names":["JsonSchema7AnyType","JsonSchema7ArrayType","JsonSchema7BigintType","JsonSchema7BooleanType","JsonSchema7DateType","JsonSchema7EnumType","JsonSchema7AllOfType","JsonSchema7LiteralType","JsonSchema7MapType","JsonSchema7NativeEnumType","JsonSchema7NeverType","JsonSchema7NullType","JsonSchema7NullableType","JsonSchema7NumberType","JsonSchema7ObjectType","JsonSchema7RecordType","JsonSchema7SetType","JsonSchema7StringType","JsonSchema7TupleType","JsonSchema7UndefinedType","JsonSchema7UnionType","JsonSchema7UnknownType","JsonSchema7RefType","JsonSchema7Meta","JsonSchema7TypeUnion","JsonSchema7Type"],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.d.ts"],"sourcesContent":["import { JsonSchema7AnyType } from \"./parsers/any.js\";\nimport { JsonSchema7ArrayType } from \"./parsers/array.js\";\nimport { JsonSchema7BigintType } from \"./parsers/bigint.js\";\nimport { JsonSchema7BooleanType } from \"./parsers/boolean.js\";\nimport { JsonSchema7DateType } from \"./parsers/date.js\";\nimport { JsonSchema7EnumType } from \"./parsers/enum.js\";\nimport { JsonSchema7AllOfType } from \"./parsers/intersection.js\";\nimport { JsonSchema7LiteralType } from \"./parsers/literal.js\";\nimport { JsonSchema7MapType } from \"./parsers/map.js\";\nimport { JsonSchema7NativeEnumType } from \"./parsers/nativeEnum.js\";\nimport { JsonSchema7NeverType } from \"./parsers/never.js\";\nimport { JsonSchema7NullType } from \"./parsers/null.js\";\nimport { JsonSchema7NullableType } from \"./parsers/nullable.js\";\nimport { JsonSchema7NumberType } from \"./parsers/number.js\";\nimport { JsonSchema7ObjectType } from \"./parsers/object.js\";\nimport { JsonSchema7RecordType } from \"./parsers/record.js\";\nimport { JsonSchema7SetType } from \"./parsers/set.js\";\nimport { JsonSchema7StringType } from \"./parsers/string.js\";\nimport { JsonSchema7TupleType } from \"./parsers/tuple.js\";\nimport { JsonSchema7UndefinedType } from \"./parsers/undefined.js\";\nimport { JsonSchema7UnionType } from \"./parsers/union.js\";\nimport { JsonSchema7UnknownType } from \"./parsers/unknown.js\";\ntype JsonSchema7RefType = {\n $ref: string;\n};\ntype JsonSchema7Meta = {\n title?: string;\n default?: any;\n description?: string;\n markdownDescription?: string;\n};\nexport type JsonSchema7TypeUnion = JsonSchema7StringType | JsonSchema7ArrayType | JsonSchema7NumberType | JsonSchema7BigintType | JsonSchema7BooleanType | JsonSchema7DateType | JsonSchema7EnumType | JsonSchema7LiteralType | JsonSchema7NativeEnumType | JsonSchema7NullType | JsonSchema7NumberType | JsonSchema7ObjectType | JsonSchema7RecordType | JsonSchema7TupleType | JsonSchema7UnionType | JsonSchema7UndefinedType | JsonSchema7RefType | JsonSchema7NeverType | JsonSchema7MapType | JsonSchema7AnyType | JsonSchema7NullableType | JsonSchema7AllOfType | JsonSchema7UnknownType | JsonSchema7SetType;\nexport type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;KAsBKsB,kBAAAA;;AADyD,CAAA;AACvC,KAGlBC,eAAAA,GAAe;EAMRC,KAAAA,CAAAA,EAAAA,MAAAA;EAAoB,OAAA,CAAA,EAAA,GAAA;EAAA,WAAGP,CAAAA,EAAAA,MAAAA;EAAqB,mBAAGhB,CAAAA,EAAAA,MAAAA;CAAoB;AAA2BC,KAA9FsB,oBAAAA,GAAuBP,qBAAuEf,GAA/CD,oBAA+CC,GAAxBW,qBAAwBX,GAAAA,qBAAAA,GAAwBC,sBAAxBD,GAAiDE,mBAAjDF,GAAuEG,mBAAvEH,GAA6FK,sBAA7FL,GAAsHO,yBAAtHP,GAAkJS,mBAAlJT,GAAwKW,qBAAxKX,GAAgMY,qBAAhMZ,GAAwNa,qBAAxNb,GAAgPgB,oBAAhPhB,GAAuQkB,oBAAvQlB,GAA8RiB,wBAA9RjB,GAAyToB,kBAAzTpB,GAA8UQ,oBAA9UR,GAAqWM,kBAArWN,GAA0XF,kBAA1XE,GAA+YU,uBAA/YV,GAAyaI,oBAAzaJ,GAAgcmB,sBAAhcnB,GAAydc,kBAAzdd;AAAwBC,KACtHsB,eAAAA,GAAkBD,oBADoGrB,GAC7EoB,eAD6EpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"any.d.cts","names":["Refs","JsonSchema7AnyType","parseAnyDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/any.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nexport type JsonSchema7AnyType = {\n $ref?: string;\n};\nexport declare function parseAnyDef(refs: Refs): JsonSchema7AnyType;\n"],"mappings":";AACYC,KAAAA,kBAAAA,GAAkB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"any.d.ts","names":["Refs","JsonSchema7AnyType","parseAnyDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/any.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nexport type JsonSchema7AnyType = {\n $ref?: string;\n};\nexport declare function parseAnyDef(refs: Refs): JsonSchema7AnyType;\n"],"mappings":";AACYC,KAAAA,kBAAAA,GAAkB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.cts","names":["ZodArrayDef","ErrorMessages","JsonSchema7Type","Refs","JsonSchema7ArrayType","parseArrayDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/array.d.ts"],"sourcesContent":["import { ZodArrayDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7ArrayType = {\n type: \"array\";\n items?: JsonSchema7Type;\n minItems?: number;\n maxItems?: number;\n errorMessages?: ErrorMessages<JsonSchema7ArrayType, \"items\">;\n};\nexport declare function parseArrayDef(def: ZodArrayDef, refs: Refs): JsonSchema7ArrayType;\n"],"mappings":";;;;AAIYI,KAAAA,oBAAAA,GAAoB;EAAA,IAAA,EAAA,OAAA;EAAA,KAEpBF,CAAAA,EAAAA,eAAAA;EAAe,QAGOE,CAAAA,EAAAA,MAAAA;EAAoB,QAAlCH,CAAAA,EAAAA,MAAAA;EAAa,aAAA,CAAA,EAAbA,aAAa,CAACG,oBAAD,EAAA,OAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.ts","names":["ZodArrayDef","ErrorMessages","JsonSchema7Type","Refs","JsonSchema7ArrayType","parseArrayDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/array.d.ts"],"sourcesContent":["import { ZodArrayDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7ArrayType = {\n type: \"array\";\n items?: JsonSchema7Type;\n minItems?: number;\n maxItems?: number;\n errorMessages?: ErrorMessages<JsonSchema7ArrayType, \"items\">;\n};\nexport declare function parseArrayDef(def: ZodArrayDef, refs: Refs): JsonSchema7ArrayType;\n"],"mappings":";;;;;KAIYI,oBAAAA;EAAAA,IAAAA,EAAAA,OAAAA;EAAoB,KAAA,CAAA,EAEpBF,eAFoB;EAAA,QAEpBA,CAAAA,EAAAA,MAAAA;EAAe,QAGOE,CAAAA,EAAAA,MAAAA;EAAoB,aAAlCH,CAAAA,EAAAA,aAAAA,CAAcG,oBAAdH,EAAAA,OAAAA,CAAAA;AAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigint.d.cts","names":["ZodBigIntDef","Refs","ErrorMessages","JsonSchema7BigintType","BigInt","parseBigintDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/bigint.d.ts"],"sourcesContent":["import { ZodBigIntDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nexport type JsonSchema7BigintType = {\n type: \"integer\";\n format: \"int64\";\n minimum?: BigInt;\n exclusiveMinimum?: BigInt;\n maximum?: BigInt;\n exclusiveMaximum?: BigInt;\n multipleOf?: BigInt;\n errorMessage?: ErrorMessages<JsonSchema7BigintType>;\n};\nexport declare function parseBigintDef(def: ZodBigIntDef, refs: Refs): JsonSchema7BigintType;\n"],"mappings":";;;AAGYG,KAAAA,qBAAAA,GAAqB;EAAA,IAAA,EAAA,SAAA;EAAA,MAGnBC,EAAAA,OAAAA;EAAM,OACGA,CAAAA,EADTA,MACSA;EAAM,gBACfA,CAAAA,EADSA,MACTA;EAAM,OACGA,CAAAA,EADTA,MACSA;EAAM,gBACZA,CAAAA,EADMA,MACNA;EAAM,UACUD,CAAAA,EADhBC,MACgBD;EAAqB,YAAnCD,CAAAA,EAAAA,aAAAA,CAAcC,qBAAdD,CAAAA;AAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigint.d.ts","names":["ZodBigIntDef","Refs","ErrorMessages","JsonSchema7BigintType","BigInt","parseBigintDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/bigint.d.ts"],"sourcesContent":["import { ZodBigIntDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nexport type JsonSchema7BigintType = {\n type: \"integer\";\n format: \"int64\";\n minimum?: BigInt;\n exclusiveMinimum?: BigInt;\n maximum?: BigInt;\n exclusiveMaximum?: BigInt;\n multipleOf?: BigInt;\n errorMessage?: ErrorMessages<JsonSchema7BigintType>;\n};\nexport declare function parseBigintDef(def: ZodBigIntDef, refs: Refs): JsonSchema7BigintType;\n"],"mappings":";;;;KAGYG,qBAAAA;EAAAA,IAAAA,EAAAA,SAAAA;EAAqB,MAAA,EAAA,OAAA;EAAA,OAGnBC,CAAAA,EAAAA,MAAAA;EAAM,gBACGA,CAAAA,EAAAA,MAAAA;EAAM,OACfA,CAAAA,EAAAA,MAAAA;EAAM,gBACGA,CAAAA,EAAAA,MAAAA;EAAM,UACZA,CAAAA,EAAAA,MAAAA;EAAM,YACUD,CAAAA,EAAdD,aAAcC,CAAAA,qBAAAA,CAAAA;CAAqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"boolean.d.cts","names":["JsonSchema7BooleanType","parseBooleanDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/boolean.d.ts"],"sourcesContent":["export type JsonSchema7BooleanType = {\n type: \"boolean\";\n};\nexport declare function parseBooleanDef(): JsonSchema7BooleanType;\n"],"mappings":";KAAYA,sBAAAA;EAAAA,IAAAA,EAAAA,SAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"boolean.d.ts","names":["JsonSchema7BooleanType","parseBooleanDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/boolean.d.ts"],"sourcesContent":["export type JsonSchema7BooleanType = {\n type: \"boolean\";\n};\nexport declare function parseBooleanDef(): JsonSchema7BooleanType;\n"],"mappings":";KAAYA,sBAAAA;EAAAA,IAAAA,EAAAA,SAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.cts","names":["ZodDateDef","Refs","ErrorMessages","JsonSchema7NumberType","DateStrategy","JsonSchema7DateType","parseDateDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/date.d.ts"],"sourcesContent":["import { ZodDateDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7NumberType } from \"./number.js\";\nimport { DateStrategy } from \"../Options.js\";\nexport type JsonSchema7DateType = {\n type: \"integer\" | \"string\";\n format: \"unix-time\" | \"date-time\" | \"date\";\n minimum?: number;\n maximum?: number;\n errorMessage?: ErrorMessages<JsonSchema7NumberType>;\n} | {\n anyOf: JsonSchema7DateType[];\n};\nexport declare function parseDateDef(def: ZodDateDef, refs: Refs, overrideDateStrategy?: DateStrategy): JsonSchema7DateType;\n"],"mappings":";;;;;AAK+B,KAAnBK,mBAAAA,GAAmB;EAAA,IAKEF,EAAAA,SAAAA,GAAAA,QAAAA;EAAqB,MAAnCD,EAAAA,WAAAA,GAAAA,WAAAA,GAAAA,MAAAA;EAAa,OAErBG,CAAAA,EAAAA,MAAAA;EAAmB,OAAA,CAAA,EAAA,MAAA;iBAFXH,cAAcC;;SAEtBE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","names":["ZodDateDef","Refs","ErrorMessages","JsonSchema7NumberType","DateStrategy","JsonSchema7DateType","parseDateDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/date.d.ts"],"sourcesContent":["import { ZodDateDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7NumberType } from \"./number.js\";\nimport { DateStrategy } from \"../Options.js\";\nexport type JsonSchema7DateType = {\n type: \"integer\" | \"string\";\n format: \"unix-time\" | \"date-time\" | \"date\";\n minimum?: number;\n maximum?: number;\n errorMessage?: ErrorMessages<JsonSchema7NumberType>;\n} | {\n anyOf: JsonSchema7DateType[];\n};\nexport declare function parseDateDef(def: ZodDateDef, refs: Refs, overrideDateStrategy?: DateStrategy): JsonSchema7DateType;\n"],"mappings":";;;;;AAKYK,KAAAA,mBAAAA,GAAmB;EAAA,IAAA,EAAA,SAAA,GAAA,QAAA;EAAA,MAKEF,EAAAA,WAAAA,GAAAA,WAAAA,GAAAA,MAAAA;EAAqB,OAAnCD,CAAAA,EAAAA,MAAAA;EAAa,OAErBG,CAAAA,EAAAA,MAAAA;EAAmB,YAAA,CAAA,EAFXH,aAEW,CAFGC,qBAEH,CAAA;;SAAnBE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.cts","names":["ZodEnumDef","JsonSchema7EnumType","parseEnumDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/enum.d.ts"],"sourcesContent":["import { ZodEnumDef } from \"zod/v3\";\nexport type JsonSchema7EnumType = {\n type: \"string\";\n enum: string[];\n};\nexport declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType;\n"],"mappings":";AACYC,KAAAA,mBAAAA,GAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enum.d.ts","names":["ZodEnumDef","JsonSchema7EnumType","parseEnumDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/enum.d.ts"],"sourcesContent":["import { ZodEnumDef } from \"zod/v3\";\nexport type JsonSchema7EnumType = {\n type: \"string\";\n enum: string[];\n};\nexport declare function parseEnumDef(def: ZodEnumDef): JsonSchema7EnumType;\n"],"mappings":";;;KACYC,mBAAAA;;EAAAA,IAAAA,EAAAA,MAAAA,EAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"intersection.d.cts","names":["ZodIntersectionDef","JsonSchema7Type","Refs","JsonSchema7AllOfType","parseIntersectionDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/intersection.d.ts"],"sourcesContent":["import { ZodIntersectionDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7AllOfType = {\n allOf: JsonSchema7Type[];\n unevaluatedProperties?: boolean;\n};\nexport declare function parseIntersectionDef(def: ZodIntersectionDef, refs: Refs): JsonSchema7AllOfType | JsonSchema7Type | undefined;\n"],"mappings":";;;AAGYG,KAAAA,oBAAAA,GAAoB;SACrBF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"intersection.d.ts","names":["ZodIntersectionDef","JsonSchema7Type","Refs","JsonSchema7AllOfType","parseIntersectionDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/intersection.d.ts"],"sourcesContent":["import { ZodIntersectionDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7AllOfType = {\n allOf: JsonSchema7Type[];\n unevaluatedProperties?: boolean;\n};\nexport declare function parseIntersectionDef(def: ZodIntersectionDef, refs: Refs): JsonSchema7AllOfType | JsonSchema7Type | undefined;\n"],"mappings":";;;;KAGYG,oBAAAA;EAAAA,KAAAA,EACDF,eADCE,EAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"literal.d.cts","names":["ZodLiteralDef","Refs","JsonSchema7LiteralType","parseLiteralDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/literal.d.ts"],"sourcesContent":["import { ZodLiteralDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7LiteralType = {\n type: \"string\" | \"number\" | \"integer\" | \"boolean\";\n const: string | number | boolean;\n} | {\n type: \"object\" | \"array\";\n};\nexport declare function parseLiteralDef(def: ZodLiteralDef, refs: Refs): JsonSchema7LiteralType;\n"],"mappings":";;KAEYE,sBAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"literal.d.ts","names":["ZodLiteralDef","Refs","JsonSchema7LiteralType","parseLiteralDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/literal.d.ts"],"sourcesContent":["import { ZodLiteralDef } from \"zod/v3\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7LiteralType = {\n type: \"string\" | \"number\" | \"integer\" | \"boolean\";\n const: string | number | boolean;\n} | {\n type: \"object\" | \"array\";\n};\nexport declare function parseLiteralDef(def: ZodLiteralDef, refs: Refs): JsonSchema7LiteralType;\n"],"mappings":";;;KAEYE,sBAAAA;EAAAA,IAAAA,EAAAA,QAAAA,GAAAA,QAAsB,GAAA,SAAA,GAAA,SAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.cts","names":["ZodMapDef","JsonSchema7Type","Refs","JsonSchema7RecordType","JsonSchema7MapType","parseMapDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/map.d.ts"],"sourcesContent":["import { ZodMapDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7RecordType } from \"./record.js\";\nexport type JsonSchema7MapType = {\n type: \"array\";\n maxItems: 125;\n items: {\n type: \"array\";\n items: [JsonSchema7Type, JsonSchema7Type];\n minItems: 2;\n maxItems: 2;\n };\n};\nexport declare function parseMapDef(def: ZodMapDef, refs: Refs): JsonSchema7MapType | JsonSchema7RecordType;\n"],"mappings":";;;;AAI8B,KAAlBI,kBAAAA,GAAkB;EAAA,IAKdH,EAAAA,OAAAA;EAAe,QAAEA,EAAAA,GAAAA;EAAe,KAAA,EAAA;;YAAhCA,iBAAiBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","names":["ZodMapDef","JsonSchema7Type","Refs","JsonSchema7RecordType","JsonSchema7MapType","parseMapDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/map.d.ts"],"sourcesContent":["import { ZodMapDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7RecordType } from \"./record.js\";\nexport type JsonSchema7MapType = {\n type: \"array\";\n maxItems: 125;\n items: {\n type: \"array\";\n items: [JsonSchema7Type, JsonSchema7Type];\n minItems: 2;\n maxItems: 2;\n };\n};\nexport declare function parseMapDef(def: ZodMapDef, refs: Refs): JsonSchema7MapType | JsonSchema7RecordType;\n"],"mappings":";;;;AAIYI,KAAAA,kBAAAA,GAAkB;EAAA,IAAA,EAAA,OAAA;EAAA,QAKdH,EAAAA,GAAAA;EAAe,KAAEA,EAAAA;IAAe,IAAA,EAAA,OAAA;YAAhCA,iBAAiBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeEnum.d.cts","names":["ZodNativeEnumDef","JsonSchema7NativeEnumType","parseNativeEnumDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/nativeEnum.d.ts"],"sourcesContent":["import { ZodNativeEnumDef } from \"zod/v3\";\nexport type JsonSchema7NativeEnumType = {\n type: \"string\" | \"number\" | [\"string\", \"number\"];\n enum: (string | number)[];\n};\nexport declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType;\n"],"mappings":";AACYC,KAAAA,yBAAAA,GAAyB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeEnum.d.ts","names":["ZodNativeEnumDef","JsonSchema7NativeEnumType","parseNativeEnumDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/nativeEnum.d.ts"],"sourcesContent":["import { ZodNativeEnumDef } from \"zod/v3\";\nexport type JsonSchema7NativeEnumType = {\n type: \"string\" | \"number\" | [\"string\", \"number\"];\n enum: (string | number)[];\n};\nexport declare function parseNativeEnumDef(def: ZodNativeEnumDef): JsonSchema7NativeEnumType;\n"],"mappings":";;;KACYC,yBAAAA;;EAAAA,IAAAA,EAAAA,CAAAA,MAAAA,GAAAA,MAAAA,CAAAA,EAAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"never.d.cts","names":["Refs","JsonSchema7AnyType","JsonSchema7NeverType","parseNeverDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/never.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7NeverType = {\n not: JsonSchema7AnyType;\n};\nexport declare function parseNeverDef(refs: Refs): JsonSchema7NeverType | undefined;\n"],"mappings":";;;KAEYE,oBAAAA;EAAAA,GAAAA,EACHD,kBADuB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"never.d.ts","names":["Refs","JsonSchema7AnyType","JsonSchema7NeverType","parseNeverDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/never.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7NeverType = {\n not: JsonSchema7AnyType;\n};\nexport declare function parseNeverDef(refs: Refs): JsonSchema7NeverType | undefined;\n"],"mappings":";;;KAEYE,oBAAAA;EAAAA,GAAAA,EACHD,kBADuB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"null.d.cts","names":["Refs","JsonSchema7NullType","parseNullDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/null.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nexport type JsonSchema7NullType = {\n type: \"null\";\n};\nexport declare function parseNullDef(refs: Refs): JsonSchema7NullType;\n"],"mappings":";AACYC,KAAAA,mBAAAA,GAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"null.d.ts","names":["Refs","JsonSchema7NullType","parseNullDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/null.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nexport type JsonSchema7NullType = {\n type: \"null\";\n};\nexport declare function parseNullDef(refs: Refs): JsonSchema7NullType;\n"],"mappings":";AACYC,KAAAA,mBAAAA,GAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nullable.d.cts","names":["ZodNullableDef","JsonSchema7Type","Refs","JsonSchema7NullType","JsonSchema7NullableType","parseNullableDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/nullable.d.ts"],"sourcesContent":["import { ZodNullableDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7NullType } from \"./null.js\";\nexport type JsonSchema7NullableType = {\n anyOf: [JsonSchema7Type, JsonSchema7NullType];\n} | {\n type: [string, \"null\"];\n};\nexport declare function parseNullableDef(def: ZodNullableDef, refs: Refs): JsonSchema7NullableType | undefined;\n"],"mappings":";;;;AAIYI,KAAAA,uBAAAA,GAAuB;EAAA,KAAA,EAAA,CACvBH,eADuB,EACNE,mBADM,CAAA;CAAA,GAAA;EACR,IAAEA,EAAAA,CAAAA,MAAAA,EAAAA,MAAAA,CAAAA;AAAmB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nullable.d.ts","names":["ZodNullableDef","JsonSchema7Type","Refs","JsonSchema7NullType","JsonSchema7NullableType","parseNullableDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/nullable.d.ts"],"sourcesContent":["import { ZodNullableDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7NullType } from \"./null.js\";\nexport type JsonSchema7NullableType = {\n anyOf: [JsonSchema7Type, JsonSchema7NullType];\n} | {\n type: [string, \"null\"];\n};\nexport declare function parseNullableDef(def: ZodNullableDef, refs: Refs): JsonSchema7NullableType | undefined;\n"],"mappings":";;;;;KAIYI,uBAAAA;EAAAA,KAAAA,EAAAA,CACAH,eADAG,EACiBD,mBADM,CAAA;CAAA,GAAA;EAAA,IACvBF,EAAAA,CAAAA,MAAAA,EAAAA,MAAAA,CAAAA;CAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number.d.cts","names":["ZodNumberDef","ErrorMessages","Refs","JsonSchema7NumberType","parseNumberDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/number.d.ts"],"sourcesContent":["import { ZodNumberDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7NumberType = {\n type: \"number\" | \"integer\";\n minimum?: number;\n exclusiveMinimum?: number;\n maximum?: number;\n exclusiveMaximum?: number;\n multipleOf?: number;\n errorMessage?: ErrorMessages<JsonSchema7NumberType>;\n};\nexport declare function parseNumberDef(def: ZodNumberDef, refs: Refs): JsonSchema7NumberType;\n"],"mappings":";;;AAGYG,KAAAA,qBAAAA,GAAqB;EAAA,IAAA,EAAA,QAAA,GAAA,SAAA;EAAA,OAOAA,CAAAA,EAAAA,MAAAA;EAAqB,gBAAnCF,CAAAA,EAAAA,MAAAA;EAAa,OAAA,CAAA,EAAA,MAAA;;;iBAAbA,cAAcE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number.d.ts","names":["ZodNumberDef","ErrorMessages","Refs","JsonSchema7NumberType","parseNumberDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/number.d.ts"],"sourcesContent":["import { ZodNumberDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7NumberType = {\n type: \"number\" | \"integer\";\n minimum?: number;\n exclusiveMinimum?: number;\n maximum?: number;\n exclusiveMaximum?: number;\n multipleOf?: number;\n errorMessage?: ErrorMessages<JsonSchema7NumberType>;\n};\nexport declare function parseNumberDef(def: ZodNumberDef, refs: Refs): JsonSchema7NumberType;\n"],"mappings":";;;;KAGYG,qBAAAA;EAAAA,IAAAA,EAAAA,QAAAA,GAAAA,SAAqB;EAAA,OAAA,CAAA,EAAA,MAAA;EAAA,gBAOAA,CAAAA,EAAAA,MAAAA;EAAqB,OAAnCF,CAAAA,EAAAA,MAAAA;EAAa,gBAAA,CAAA,EAAA,MAAA;;iBAAbA,cAAcE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object.d.cts","names":["ZodObjectDef","JsonSchema7Type","Refs","JsonSchema7ObjectType","Record","parseObjectDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/object.d.ts"],"sourcesContent":["import { ZodObjectDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7ObjectType = {\n type: \"object\";\n properties: Record<string, JsonSchema7Type>;\n additionalProperties?: boolean | JsonSchema7Type;\n required?: string[];\n};\nexport declare function parseObjectDef(def: ZodObjectDef, refs: Refs): JsonSchema7ObjectType;\n"],"mappings":";;;AAGYG,KAAAA,qBAAAA,GAAqB;EAAA,IAAA,EAAA,QAAA;EAAA,UAEFF,EAAfG,MAAeH,CAAAA,MAAAA,EAAAA,eAAAA,CAAAA;EAAe,oBAA9BG,CAAAA,EAAAA,OAAAA,GACqBH,eADrBG;EAAM,QACeH,CAAAA,EAAAA,MAAAA,EAAAA;AAAe,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object.d.ts","names":["ZodObjectDef","JsonSchema7Type","Refs","JsonSchema7ObjectType","Record","parseObjectDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/object.d.ts"],"sourcesContent":["import { ZodObjectDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7ObjectType = {\n type: \"object\";\n properties: Record<string, JsonSchema7Type>;\n additionalProperties?: boolean | JsonSchema7Type;\n required?: string[];\n};\nexport declare function parseObjectDef(def: ZodObjectDef, refs: Refs): JsonSchema7ObjectType;\n"],"mappings":";;;;KAGYG,qBAAAA;EAAAA,IAAAA,EAAAA,QAAAA;EAAqB,UAAA,EAEjBC,MAFiB,CAAA,MAAA,EAEFH,eAFE,CAAA;EAAA,oBAEFA,CAAAA,EAAAA,OAAAA,GACMA,eADNA;EAAe,QAA9BG,CAAAA,EAAAA,MAAAA,EAAAA;CAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.cts","names":["ZodMapDef","ZodRecordDef","ZodTypeAny","JsonSchema7Type","Refs","JsonSchema7EnumType","JsonSchema7StringType","JsonSchema7RecordPropertyNamesType","Omit","JsonSchema7RecordType","parseRecordDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/record.d.ts"],"sourcesContent":["import { ZodMapDef, ZodRecordDef, ZodTypeAny } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7EnumType } from \"./enum.js\";\nimport { JsonSchema7StringType } from \"./string.js\";\ntype JsonSchema7RecordPropertyNamesType = Omit<JsonSchema7StringType, \"type\"> | Omit<JsonSchema7EnumType, \"type\">;\nexport type JsonSchema7RecordType = {\n type: \"object\";\n additionalProperties?: JsonSchema7Type | true;\n propertyNames?: JsonSchema7RecordPropertyNamesType;\n};\nexport declare function parseRecordDef(def: ZodRecordDef<ZodTypeAny, ZodTypeAny> | ZodMapDef, refs: Refs): JsonSchema7RecordType;\nexport {};\n"],"mappings":";;;;;AAIoD,KAC/CO,kCAAAA,GAAqCC,IAAH,CAAQF,qBAAR,EAAA,MAAA,CAAA,GAAyCE,IAAzC,CAA8CH,mBAA9C,EAAA,MAAA,CAAA;AAAA,KAC3BI,qBAAAA,GAD2B;EAAA,IAAQH,EAAAA,QAAAA;EAAqB,oBAA1BE,CAAAA,EAGfL,eAHeK,GAAAA,IAAAA;EAAI,aAAuCH,CAAAA,EAIjEE,kCAJiEF;CAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.ts","names":["ZodMapDef","ZodRecordDef","ZodTypeAny","JsonSchema7Type","Refs","JsonSchema7EnumType","JsonSchema7StringType","JsonSchema7RecordPropertyNamesType","Omit","JsonSchema7RecordType","parseRecordDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/record.d.ts"],"sourcesContent":["import { ZodMapDef, ZodRecordDef, ZodTypeAny } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nimport { JsonSchema7EnumType } from \"./enum.js\";\nimport { JsonSchema7StringType } from \"./string.js\";\ntype JsonSchema7RecordPropertyNamesType = Omit<JsonSchema7StringType, \"type\"> | Omit<JsonSchema7EnumType, \"type\">;\nexport type JsonSchema7RecordType = {\n type: \"object\";\n additionalProperties?: JsonSchema7Type | true;\n propertyNames?: JsonSchema7RecordPropertyNamesType;\n};\nexport declare function parseRecordDef(def: ZodRecordDef<ZodTypeAny, ZodTypeAny> | ZodMapDef, refs: Refs): JsonSchema7RecordType;\nexport {};\n"],"mappings":";;;;;;KAKKO,kCAAAA,GAAqCC,KAAKF,iCAAiCE,KAAKH;AAAhFE,KACOE,qBAAAA,GADPF;EAAkC,IAAA,EAAA,QAAA;EAAA,oBAAQD,CAAAA,EAGpBH,eAHoBG,GAAAA,IAAAA;EAAqB,aAA1BE,CAAAA,EAItBD,kCAJsBC;CAAI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set.d.cts","names":["ZodSetDef","ErrorMessages","JsonSchema7Type","Refs","JsonSchema7SetType","parseSetDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/set.d.ts"],"sourcesContent":["import { ZodSetDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7SetType = {\n type: \"array\";\n uniqueItems: true;\n items?: JsonSchema7Type;\n minItems?: number;\n maxItems?: number;\n errorMessage?: ErrorMessages<JsonSchema7SetType>;\n};\nexport declare function parseSetDef(def: ZodSetDef, refs: Refs): JsonSchema7SetType;\n"],"mappings":";;;;AAIYI,KAAAA,kBAAAA,GAAkB;EAAA,IAAA,EAAA,OAAA;EAAA,WAGlBF,EAAAA,IAAAA;EAAe,KAGME,CAAAA,EAHrBF,eAGqBE;EAAkB,QAAhCH,CAAAA,EAAAA,MAAAA;EAAa,QAAA,CAAA,EAAA,MAAA;iBAAbA,cAAcG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set.d.ts","names":["ZodSetDef","ErrorMessages","JsonSchema7Type","Refs","JsonSchema7SetType","parseSetDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/set.d.ts"],"sourcesContent":["import { ZodSetDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7SetType = {\n type: \"array\";\n uniqueItems: true;\n items?: JsonSchema7Type;\n minItems?: number;\n maxItems?: number;\n errorMessage?: ErrorMessages<JsonSchema7SetType>;\n};\nexport declare function parseSetDef(def: ZodSetDef, refs: Refs): JsonSchema7SetType;\n"],"mappings":";;;;;KAIYI,kBAAAA;EAAAA,IAAAA,EAAAA,OAAAA;EAAkB,WAAA,EAAA,IAAA;EAAA,KAGlBF,CAAAA,EAAAA,eAAAA;EAAe,QAGME,CAAAA,EAAAA,MAAAA;EAAkB,QAAhCH,CAAAA,EAAAA,MAAAA;EAAa,YAAA,CAAA,EAAbA,aAAa,CAACG,kBAAD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.cts","names":["ZodStringDef","ErrorMessages","Refs","zodPatterns","RegExp","JsonSchema7StringType","parseStringDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/string.d.ts"],"sourcesContent":["import { ZodStringDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { Refs } from \"../Refs.js\";\n/**\n * Generated from the regular expressions found here as of 2024-05-22:\n * https://github.com/colinhacks/zod/blob/master/src/types.ts.\n *\n * Expressions with /i flag have been changed accordingly.\n */\nexport declare const zodPatterns: {\n /**\n * `c` was changed to `[cC]` to replicate /i flag\n */\n readonly cuid: RegExp;\n readonly cuid2: RegExp;\n readonly ulid: RegExp;\n /**\n * `a-z` was added to replicate /i flag\n */\n readonly email: RegExp;\n /**\n * Constructed a valid Unicode RegExp\n *\n * Lazily instantiate since this type of regex isn't supported\n * in all envs (e.g. React Native).\n *\n * See:\n * https://github.com/colinhacks/zod/issues/2433\n * Fix in Zod:\n * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b\n */\n readonly emoji: () => RegExp;\n /**\n * Unused\n */\n readonly uuid: RegExp;\n /**\n * Unused\n */\n readonly ipv4: RegExp;\n readonly ipv4Cidr: RegExp;\n /**\n * Unused\n */\n readonly ipv6: RegExp;\n readonly ipv6Cidr: RegExp;\n readonly base64: RegExp;\n readonly base64url: RegExp;\n readonly nanoid: RegExp;\n readonly jwt: RegExp;\n};\nexport type JsonSchema7StringType = {\n type: \"string\";\n minLength?: number;\n maxLength?: number;\n format?: \"email\" | \"idn-email\" | \"uri\" | \"uuid\" | \"date-time\" | \"ipv4\" | \"ipv6\" | \"date\" | \"time\" | \"duration\";\n pattern?: string;\n allOf?: {\n pattern: string;\n errorMessage?: ErrorMessages<{\n pattern: string;\n }>;\n }[];\n anyOf?: {\n format: string;\n errorMessage?: ErrorMessages<{\n format: string;\n }>;\n }[];\n errorMessage?: ErrorMessages<JsonSchema7StringType>;\n contentEncoding?: string;\n};\nexport declare function parseStringDef(def: ZodStringDef, refs: Refs): JsonSchema7StringType;\n"],"mappings":";;;;KAmDYK,qBAAAA;;;;;;;;mBAQWJ;;;;;;mBAMAA;;;;iBAIJA,cAAcI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","names":["ZodStringDef","ErrorMessages","Refs","zodPatterns","RegExp","JsonSchema7StringType","parseStringDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/string.d.ts"],"sourcesContent":["import { ZodStringDef } from \"zod/v3\";\nimport { ErrorMessages } from \"../errorMessages.js\";\nimport { Refs } from \"../Refs.js\";\n/**\n * Generated from the regular expressions found here as of 2024-05-22:\n * https://github.com/colinhacks/zod/blob/master/src/types.ts.\n *\n * Expressions with /i flag have been changed accordingly.\n */\nexport declare const zodPatterns: {\n /**\n * `c` was changed to `[cC]` to replicate /i flag\n */\n readonly cuid: RegExp;\n readonly cuid2: RegExp;\n readonly ulid: RegExp;\n /**\n * `a-z` was added to replicate /i flag\n */\n readonly email: RegExp;\n /**\n * Constructed a valid Unicode RegExp\n *\n * Lazily instantiate since this type of regex isn't supported\n * in all envs (e.g. React Native).\n *\n * See:\n * https://github.com/colinhacks/zod/issues/2433\n * Fix in Zod:\n * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b\n */\n readonly emoji: () => RegExp;\n /**\n * Unused\n */\n readonly uuid: RegExp;\n /**\n * Unused\n */\n readonly ipv4: RegExp;\n readonly ipv4Cidr: RegExp;\n /**\n * Unused\n */\n readonly ipv6: RegExp;\n readonly ipv6Cidr: RegExp;\n readonly base64: RegExp;\n readonly base64url: RegExp;\n readonly nanoid: RegExp;\n readonly jwt: RegExp;\n};\nexport type JsonSchema7StringType = {\n type: \"string\";\n minLength?: number;\n maxLength?: number;\n format?: \"email\" | \"idn-email\" | \"uri\" | \"uuid\" | \"date-time\" | \"ipv4\" | \"ipv6\" | \"date\" | \"time\" | \"duration\";\n pattern?: string;\n allOf?: {\n pattern: string;\n errorMessage?: ErrorMessages<{\n pattern: string;\n }>;\n }[];\n anyOf?: {\n format: string;\n errorMessage?: ErrorMessages<{\n format: string;\n }>;\n }[];\n errorMessage?: ErrorMessages<JsonSchema7StringType>;\n contentEncoding?: string;\n};\nexport declare function parseStringDef(def: ZodStringDef, refs: Refs): JsonSchema7StringType;\n"],"mappings":";;;;;KAmDYK,qBAAAA;;;;;;;;mBAQWJ;;;;;;mBAMAA;;;;iBAIJA,cAAcI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tuple.d.cts","names":["ZodTupleDef","ZodTupleItems","ZodTypeAny","JsonSchema7Type","Refs","JsonSchema7TupleType","parseTupleDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/tuple.d.ts"],"sourcesContent":["import { ZodTupleDef, ZodTupleItems, ZodTypeAny } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7TupleType = {\n type: \"array\";\n minItems: number;\n items: JsonSchema7Type[];\n} & ({\n maxItems: number;\n} | {\n additionalItems?: JsonSchema7Type;\n});\nexport declare function parseTupleDef(def: ZodTupleDef<ZodTupleItems | [], ZodTypeAny | null>, refs: Refs): JsonSchema7TupleType;\n"],"mappings":";;;AAGYK,KAAAA,oBAAAA,GAAoB;EAAA,IAAA,EAAA,OAAA;EAAA,QAGrBF,EAAAA,MAAAA;EAAe,KAIJA,EAJXA,eAIWA,EAAAA;AAAe,CAAA,GAAA,CAAA;;;oBAAfA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tuple.d.ts","names":["ZodTupleDef","ZodTupleItems","ZodTypeAny","JsonSchema7Type","Refs","JsonSchema7TupleType","parseTupleDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/tuple.d.ts"],"sourcesContent":["import { ZodTupleDef, ZodTupleItems, ZodTypeAny } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport type JsonSchema7TupleType = {\n type: \"array\";\n minItems: number;\n items: JsonSchema7Type[];\n} & ({\n maxItems: number;\n} | {\n additionalItems?: JsonSchema7Type;\n});\nexport declare function parseTupleDef(def: ZodTupleDef<ZodTupleItems | [], ZodTypeAny | null>, refs: Refs): JsonSchema7TupleType;\n"],"mappings":";;;;KAGYK,oBAAAA;EAAAA,IAAAA,EAAAA,OAAAA;EAAoB,QAAA,EAAA,MAAA;EAAA,KAGrBF,EAAAA,eAAAA,EAAAA;CAAe,GAAA,CAAA;EAIW,QAAA,EAAA,MAAA;;oBAAfA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"undefined.d.cts","names":["Refs","JsonSchema7AnyType","JsonSchema7UndefinedType","parseUndefinedDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/undefined.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7UndefinedType = {\n not: JsonSchema7AnyType;\n};\nexport declare function parseUndefinedDef(refs: Refs): JsonSchema7UndefinedType;\n"],"mappings":";;;KAEYE,wBAAAA;EAAAA,GAAAA,EACHD,kBADGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"undefined.d.ts","names":["Refs","JsonSchema7AnyType","JsonSchema7UndefinedType","parseUndefinedDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/undefined.d.ts"],"sourcesContent":["import { Refs } from \"../Refs.js\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7UndefinedType = {\n not: JsonSchema7AnyType;\n};\nexport declare function parseUndefinedDef(refs: Refs): JsonSchema7UndefinedType;\n"],"mappings":";;;KAEYE,wBAAAA;EAAAA,GAAAA,EACHD,kBADGC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"union.d.cts","names":["ZodDiscriminatedUnionDef","ZodUnionDef","JsonSchema7Type","Refs","primitiveMappings","JsonSchema7Primitive","JsonSchema7UnionType","JsonSchema7PrimitiveUnionType","JsonSchema7AnyOfType","parseUnionDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/union.d.ts"],"sourcesContent":["import { ZodDiscriminatedUnionDef, ZodUnionDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport declare const primitiveMappings: {\n readonly ZodString: \"string\";\n readonly ZodNumber: \"number\";\n readonly ZodBigInt: \"integer\";\n readonly ZodBoolean: \"boolean\";\n readonly ZodNull: \"null\";\n};\ntype JsonSchema7Primitive = (typeof primitiveMappings)[keyof typeof primitiveMappings];\nexport type JsonSchema7UnionType = JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType;\ntype JsonSchema7PrimitiveUnionType = {\n type: JsonSchema7Primitive | JsonSchema7Primitive[];\n} | {\n type: JsonSchema7Primitive | JsonSchema7Primitive[];\n enum: (string | number | bigint | boolean | null)[];\n};\ntype JsonSchema7AnyOfType = {\n anyOf: JsonSchema7Type[];\n};\nexport declare function parseUnionDef(def: ZodUnionDef | ZodDiscriminatedUnionDef<any, any>, refs: Refs): JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType | undefined;\nexport {};\n"],"mappings":";;;AAGqBI,cAAAA,iBAMpB,EAAA;EACIC,SAAAA,SAAAA,EAAAA,QAAoB;EAAA,SAAA,SAAA,EAAA,QAAA;EAAA,SAAWD,SAAAA,EAAAA,SAAAA;EAAiB,SAAeA,UAAAA,EAAAA,SAAAA;EAAiB,SAAA,OAAA,EAAA,MAAA;AACrF,CAAA;KADKC,oBAAAA,GAC2B,CAAA,OADID,iBACJ,CAAA,CAAA,MAAA,OADoCA,iBACpC,CAAA;AAAGG,KAAvBD,oBAAAA,GAAuBC,6BAAAA,GAAgCC,oBAAhCD;KAC9BA,6BAAAA,GAD8DC;EAAoB,IAAA,EAE7EH,oBAF6E,GAEtDA,oBAFsD,EAAA;AAAC,CAAA,GACnFE;EAA6B,IAAA,EAGxBF,oBAHwB,GAGDA,oBAHC,EAAA;EAAA,IACxBA,EAAAA,CAAAA,MAAAA,GAAAA,MAAAA,GAAAA,MAAAA,GAAAA,OAAAA,GAAAA,IAAAA,CAAAA,EAAAA;CAAoB;KAKzBG,oBAAAA,GAHKH;EAAoB,KAAGA,EAItBH,eAJsBG,EAAAA;AAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"union.d.ts","names":["ZodDiscriminatedUnionDef","ZodUnionDef","JsonSchema7Type","Refs","primitiveMappings","JsonSchema7Primitive","JsonSchema7UnionType","JsonSchema7PrimitiveUnionType","JsonSchema7AnyOfType","parseUnionDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/union.d.ts"],"sourcesContent":["import { ZodDiscriminatedUnionDef, ZodUnionDef } from \"zod/v3\";\nimport { JsonSchema7Type } from \"../parseTypes.js\";\nimport { Refs } from \"../Refs.js\";\nexport declare const primitiveMappings: {\n readonly ZodString: \"string\";\n readonly ZodNumber: \"number\";\n readonly ZodBigInt: \"integer\";\n readonly ZodBoolean: \"boolean\";\n readonly ZodNull: \"null\";\n};\ntype JsonSchema7Primitive = (typeof primitiveMappings)[keyof typeof primitiveMappings];\nexport type JsonSchema7UnionType = JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType;\ntype JsonSchema7PrimitiveUnionType = {\n type: JsonSchema7Primitive | JsonSchema7Primitive[];\n} | {\n type: JsonSchema7Primitive | JsonSchema7Primitive[];\n enum: (string | number | bigint | boolean | null)[];\n};\ntype JsonSchema7AnyOfType = {\n anyOf: JsonSchema7Type[];\n};\nexport declare function parseUnionDef(def: ZodUnionDef | ZodDiscriminatedUnionDef<any, any>, refs: Refs): JsonSchema7PrimitiveUnionType | JsonSchema7AnyOfType | undefined;\nexport {};\n"],"mappings":";;;;cAGqBI;EAAAA,SAAAA,SAAAA,EAMpB,QAAA;EACIC,SAAAA,SAAAA,EAAAA,QAAoB;EAAA,SAAA,SAAA,EAAA,SAAA;EAAA,SAAWD,UAAAA,EAAAA,SAAAA;EAAiB,SAAeA,OAAAA,EAAAA,MAAAA;AAAiB,CAAA;AACrF,KADKC,oBAAAA,GAC2B,CAAA,OADID,iBACJ,CAAA,CAAA,MAAA,OADoCA,iBACpC,CAAA;AAAA,KAApBE,oBAAAA,GAAuBC,6BAAH,GAAmCC,oBAAnC;KAC3BD,6BAAAA,GAD8BA;EAA6B,IAAGC,EAEzDH,oBAFyDG,GAElCH,oBAFkCG,EAAAA;AAAoB,CAAA,GAAA;EAClFD,IAAAA,EAGKF,oBAHLE,GAG4BF,oBAHC,EAAA;EAAA,IAAA,EAAA,CAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,IAAA,CAAA,EAAA;CAAA;KAM7BG,oBAAAA,GAL4BH;EAAoB,KAE3CA,EAICH,eAJDG,EAAAA;CAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unknown.d.cts","names":["Refs","JsonSchema7AnyType","JsonSchema7UnknownType","parseUnknownDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/unknown.d.ts"],"sourcesContent":["import { Refs } from \"../Refs\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7UnknownType = JsonSchema7AnyType;\nexport declare function parseUnknownDef(refs: Refs): JsonSchema7UnknownType;\n"],"mappings":";;;KAEYE,sBAAAA,GAAyBD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unknown.d.ts","names":["Refs","JsonSchema7AnyType","JsonSchema7UnknownType","parseUnknownDef"],"sources":["../../../../src/utils/zod-to-json-schema/parsers/unknown.d.ts"],"sourcesContent":["import { Refs } from \"../Refs\";\nimport { JsonSchema7AnyType } from \"./any.js\";\nexport type JsonSchema7UnknownType = JsonSchema7AnyType;\nexport declare function parseUnknownDef(refs: Refs): JsonSchema7UnknownType;\n"],"mappings":";;;KAEYE,sBAAAA,GAAyBD"}
|