@langchain/core 1.2.14 → 1.2.16
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 +12 -0
- package/dist/agents.d.cts +3 -4
- package/dist/agents.d.cts.map +1 -1
- package/dist/agents.d.ts +3 -4
- package/dist/agents.d.ts.map +1 -1
- package/dist/caches/index.d.cts +5 -6
- package/dist/caches/index.d.cts.map +1 -1
- package/dist/caches/index.d.ts +5 -6
- package/dist/caches/index.d.ts.map +1 -1
- package/dist/callbacks/base.d.cts +10 -11
- package/dist/callbacks/base.d.cts.map +1 -1
- package/dist/callbacks/base.d.ts +10 -11
- package/dist/callbacks/base.d.ts.map +1 -1
- package/dist/callbacks/dispatch/index.d.cts +1 -2
- package/dist/callbacks/dispatch/index.d.cts.map +1 -1
- package/dist/callbacks/dispatch/index.d.ts +1 -2
- package/dist/callbacks/dispatch/index.d.ts.map +1 -1
- package/dist/callbacks/dispatch/web.d.cts +1 -2
- package/dist/callbacks/dispatch/web.d.cts.map +1 -1
- package/dist/callbacks/dispatch/web.d.ts +1 -2
- package/dist/callbacks/dispatch/web.d.ts.map +1 -1
- package/dist/callbacks/manager.cjs +1 -1
- package/dist/callbacks/manager.cjs.map +1 -1
- package/dist/callbacks/manager.d.cts +12 -13
- package/dist/callbacks/manager.d.cts.map +1 -1
- package/dist/callbacks/manager.d.ts +12 -13
- package/dist/callbacks/manager.d.ts.map +1 -1
- package/dist/callbacks/manager.js +1 -1
- package/dist/callbacks/manager.js.map +1 -1
- package/dist/chat_history.d.cts +3 -4
- package/dist/chat_history.d.cts.map +1 -1
- package/dist/chat_history.d.ts +3 -4
- package/dist/chat_history.d.ts.map +1 -1
- package/dist/context.d.cts +2 -2
- package/dist/context.d.cts.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/document_loaders/base.d.cts +2 -3
- package/dist/document_loaders/base.d.cts.map +1 -1
- package/dist/document_loaders/base.d.ts +2 -3
- package/dist/document_loaders/base.d.ts.map +1 -1
- package/dist/document_loaders/langsmith.d.cts +2 -3
- package/dist/document_loaders/langsmith.d.cts.map +1 -1
- package/dist/document_loaders/langsmith.d.ts +2 -3
- package/dist/document_loaders/langsmith.d.ts.map +1 -1
- package/dist/documents/document.d.cts +3 -4
- package/dist/documents/document.d.cts.map +1 -1
- package/dist/documents/document.d.ts +3 -4
- package/dist/documents/document.d.ts.map +1 -1
- package/dist/documents/transformers.d.cts +2 -3
- package/dist/documents/transformers.d.cts.map +1 -1
- package/dist/documents/transformers.d.ts +2 -3
- package/dist/documents/transformers.d.ts.map +1 -1
- package/dist/embeddings.d.cts +3 -4
- package/dist/embeddings.d.cts.map +1 -1
- package/dist/embeddings.d.ts +3 -4
- package/dist/embeddings.d.ts.map +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.d.cts +13 -19
- package/dist/errors/index.d.cts.map +1 -1
- package/dist/errors/index.d.ts +13 -19
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/example_selectors/base.d.cts +1 -2
- package/dist/example_selectors/base.d.cts.map +1 -1
- package/dist/example_selectors/base.d.ts +1 -2
- package/dist/example_selectors/base.d.ts.map +1 -1
- package/dist/example_selectors/conditional.d.cts +5 -6
- package/dist/example_selectors/conditional.d.cts.map +1 -1
- package/dist/example_selectors/conditional.d.ts +5 -6
- package/dist/example_selectors/conditional.d.ts.map +1 -1
- package/dist/example_selectors/length_based.d.cts +2 -3
- package/dist/example_selectors/length_based.d.cts.map +1 -1
- package/dist/example_selectors/length_based.d.ts +2 -3
- package/dist/example_selectors/length_based.d.ts.map +1 -1
- package/dist/example_selectors/semantic_similarity.d.cts +2 -3
- package/dist/example_selectors/semantic_similarity.d.cts.map +1 -1
- package/dist/example_selectors/semantic_similarity.d.ts +2 -3
- package/dist/example_selectors/semantic_similarity.d.ts.map +1 -1
- package/dist/indexing/base.d.cts +9 -10
- package/dist/indexing/base.d.cts.map +1 -1
- package/dist/indexing/base.d.ts +9 -10
- package/dist/indexing/base.d.ts.map +1 -1
- package/dist/indexing/record_manager.d.cts +5 -6
- package/dist/indexing/record_manager.d.cts.map +1 -1
- package/dist/indexing/record_manager.d.ts +5 -6
- package/dist/indexing/record_manager.d.ts.map +1 -1
- package/dist/language_models/base.cjs +1 -1
- package/dist/language_models/base.cjs.map +1 -1
- package/dist/language_models/base.d.cts +24 -25
- package/dist/language_models/base.d.cts.map +1 -1
- package/dist/language_models/base.d.ts +24 -25
- package/dist/language_models/base.d.ts.map +1 -1
- package/dist/language_models/base.js +1 -1
- package/dist/language_models/base.js.map +1 -1
- package/dist/language_models/chat_models.d.cts +9 -10
- package/dist/language_models/chat_models.d.cts.map +1 -1
- package/dist/language_models/chat_models.d.ts +9 -10
- package/dist/language_models/chat_models.d.ts.map +1 -1
- package/dist/language_models/compat.d.cts +2 -3
- package/dist/language_models/compat.d.cts.map +1 -1
- package/dist/language_models/compat.d.ts +2 -3
- package/dist/language_models/compat.d.ts.map +1 -1
- package/dist/language_models/event.d.cts +15 -16
- package/dist/language_models/event.d.cts.map +1 -1
- package/dist/language_models/event.d.ts +15 -16
- package/dist/language_models/event.d.ts.map +1 -1
- package/dist/language_models/llms.d.cts +5 -6
- package/dist/language_models/llms.d.cts.map +1 -1
- package/dist/language_models/llms.d.ts +5 -6
- package/dist/language_models/llms.d.ts.map +1 -1
- package/dist/language_models/openai_completions_stream.d.cts +8 -9
- package/dist/language_models/openai_completions_stream.d.cts.map +1 -1
- package/dist/language_models/openai_completions_stream.d.ts +8 -9
- package/dist/language_models/openai_completions_stream.d.ts.map +1 -1
- package/dist/language_models/profile.d.cts +1 -2
- package/dist/language_models/profile.d.cts.map +1 -1
- package/dist/language_models/profile.d.ts +1 -2
- package/dist/language_models/profile.d.ts.map +1 -1
- package/dist/language_models/stream.d.cts +5 -6
- package/dist/language_models/stream.d.cts.map +1 -1
- package/dist/language_models/stream.d.ts +5 -6
- package/dist/language_models/stream.d.ts.map +1 -1
- package/dist/language_models/structured_output.d.cts +3 -4
- package/dist/language_models/structured_output.d.cts.map +1 -1
- package/dist/language_models/structured_output.d.ts +3 -4
- package/dist/language_models/structured_output.d.ts.map +1 -1
- package/dist/load/import_type.d.cts +2 -3
- package/dist/load/import_type.d.cts.map +1 -1
- package/dist/load/import_type.d.ts +2 -3
- package/dist/load/import_type.d.ts.map +1 -1
- package/dist/load/index.d.cts +2 -3
- package/dist/load/index.d.cts.map +1 -1
- package/dist/load/index.d.ts +2 -3
- package/dist/load/index.d.ts.map +1 -1
- package/dist/load/map_keys.d.cts +1 -2
- package/dist/load/map_keys.d.cts.map +1 -1
- package/dist/load/map_keys.d.ts +1 -2
- package/dist/load/map_keys.d.ts.map +1 -1
- package/dist/load/serializable.d.cts +9 -10
- package/dist/load/serializable.d.cts.map +1 -1
- package/dist/load/serializable.d.ts +9 -10
- package/dist/load/serializable.d.ts.map +1 -1
- package/dist/memory.d.cts +7 -8
- package/dist/memory.d.cts.map +1 -1
- package/dist/memory.d.ts +7 -8
- package/dist/memory.d.ts.map +1 -1
- package/dist/messages/ai.d.cts +6 -7
- package/dist/messages/ai.d.cts.map +1 -1
- package/dist/messages/ai.d.ts +6 -7
- package/dist/messages/ai.d.ts.map +1 -1
- package/dist/messages/base.d.cts +23 -24
- package/dist/messages/base.d.cts.map +1 -1
- package/dist/messages/base.d.ts +23 -24
- package/dist/messages/base.d.ts.map +1 -1
- package/dist/messages/chat.d.cts +5 -6
- package/dist/messages/chat.d.cts.map +1 -1
- package/dist/messages/chat.d.ts +5 -6
- package/dist/messages/chat.d.ts.map +1 -1
- package/dist/messages/content/base.d.cts +1 -2
- package/dist/messages/content/base.d.cts.map +1 -1
- package/dist/messages/content/base.d.ts +1 -2
- package/dist/messages/content/base.d.ts.map +1 -1
- package/dist/messages/content/data.d.cts +18 -19
- package/dist/messages/content/data.d.cts.map +1 -1
- package/dist/messages/content/data.d.ts +18 -19
- package/dist/messages/content/data.d.ts.map +1 -1
- package/dist/messages/content/index.d.cts +4 -5
- package/dist/messages/content/index.d.cts.map +1 -1
- package/dist/messages/content/index.d.ts +4 -5
- package/dist/messages/content/index.d.ts.map +1 -1
- package/dist/messages/content/multimodal.d.cts +2 -3
- package/dist/messages/content/multimodal.d.cts.map +1 -1
- package/dist/messages/content/multimodal.d.ts +2 -3
- package/dist/messages/content/multimodal.d.ts.map +1 -1
- package/dist/messages/content/tools.d.cts +2 -3
- package/dist/messages/content/tools.d.cts.map +1 -1
- package/dist/messages/content/tools.d.ts +2 -3
- package/dist/messages/content/tools.d.ts.map +1 -1
- package/dist/messages/format.d.cts +1 -2
- package/dist/messages/format.d.cts.map +1 -1
- package/dist/messages/format.d.ts +1 -2
- package/dist/messages/format.d.ts.map +1 -1
- package/dist/messages/function.d.cts +5 -6
- package/dist/messages/function.d.cts.map +1 -1
- package/dist/messages/function.d.ts +5 -6
- package/dist/messages/function.d.ts.map +1 -1
- package/dist/messages/human.d.cts +5 -6
- package/dist/messages/human.d.cts.map +1 -1
- package/dist/messages/human.d.ts +5 -6
- package/dist/messages/human.d.ts.map +1 -1
- package/dist/messages/message.d.cts +20 -21
- package/dist/messages/message.d.cts.map +1 -1
- package/dist/messages/message.d.ts +20 -21
- package/dist/messages/message.d.ts.map +1 -1
- package/dist/messages/metadata.d.cts +7 -8
- package/dist/messages/metadata.d.cts.map +1 -1
- package/dist/messages/metadata.d.ts +7 -8
- package/dist/messages/metadata.d.ts.map +1 -1
- package/dist/messages/modifier.d.cts +2 -3
- package/dist/messages/modifier.d.cts.map +1 -1
- package/dist/messages/modifier.d.ts +2 -3
- package/dist/messages/modifier.d.ts.map +1 -1
- package/dist/messages/system.d.cts +5 -6
- package/dist/messages/system.d.cts.map +1 -1
- package/dist/messages/system.d.ts +5 -6
- package/dist/messages/system.d.ts.map +1 -1
- package/dist/messages/tool.d.cts +11 -12
- package/dist/messages/tool.d.cts.map +1 -1
- package/dist/messages/tool.d.ts +11 -12
- package/dist/messages/tool.d.ts.map +1 -1
- package/dist/messages/transformers.d.cts +12 -13
- package/dist/messages/transformers.d.cts.map +1 -1
- package/dist/messages/transformers.d.ts +12 -13
- package/dist/messages/transformers.d.ts.map +1 -1
- package/dist/messages/utils.d.cts +13 -14
- package/dist/messages/utils.d.cts.map +1 -1
- package/dist/messages/utils.d.ts +13 -14
- package/dist/messages/utils.d.ts.map +1 -1
- package/dist/output_parsers/base.d.cts +4 -5
- package/dist/output_parsers/base.d.cts.map +1 -1
- package/dist/output_parsers/base.d.ts +4 -5
- package/dist/output_parsers/base.d.ts.map +1 -1
- package/dist/output_parsers/bytes.d.cts +1 -2
- package/dist/output_parsers/bytes.d.cts.map +1 -1
- package/dist/output_parsers/bytes.d.ts +1 -2
- package/dist/output_parsers/bytes.d.ts.map +1 -1
- package/dist/output_parsers/json.d.cts +2 -2
- package/dist/output_parsers/json.d.cts.map +1 -1
- package/dist/output_parsers/json.d.ts +2 -2
- package/dist/output_parsers/json.d.ts.map +1 -1
- package/dist/output_parsers/list.d.cts +5 -6
- package/dist/output_parsers/list.d.cts.map +1 -1
- package/dist/output_parsers/list.d.ts +5 -6
- package/dist/output_parsers/list.d.ts.map +1 -1
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts +4 -5
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.cts.map +1 -1
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts +4 -5
- package/dist/output_parsers/openai_functions/json_output_functions_parsers.d.ts.map +1 -1
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts +12 -13
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.cts.map +1 -1
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts +12 -13
- package/dist/output_parsers/openai_tools/json_output_tools_parsers.d.ts.map +1 -1
- package/dist/output_parsers/standard_schema.d.cts +1 -2
- package/dist/output_parsers/standard_schema.d.cts.map +1 -1
- package/dist/output_parsers/standard_schema.d.ts +1 -2
- package/dist/output_parsers/standard_schema.d.ts.map +1 -1
- package/dist/output_parsers/string.d.cts +1 -2
- package/dist/output_parsers/string.d.cts.map +1 -1
- package/dist/output_parsers/string.d.ts +1 -2
- package/dist/output_parsers/string.d.ts.map +1 -1
- package/dist/output_parsers/structured.d.cts +6 -7
- package/dist/output_parsers/structured.d.cts.map +1 -1
- package/dist/output_parsers/structured.d.ts +6 -7
- package/dist/output_parsers/structured.d.ts.map +1 -1
- package/dist/output_parsers/transform.d.cts +3 -4
- package/dist/output_parsers/transform.d.cts.map +1 -1
- package/dist/output_parsers/transform.d.ts +3 -4
- package/dist/output_parsers/transform.d.ts.map +1 -1
- package/dist/output_parsers/xml.d.cts +6 -7
- package/dist/output_parsers/xml.d.cts.map +1 -1
- package/dist/output_parsers/xml.d.ts +6 -7
- package/dist/output_parsers/xml.d.ts.map +1 -1
- package/dist/outputs.d.cts +9 -10
- package/dist/outputs.d.cts.map +1 -1
- package/dist/outputs.d.ts +9 -10
- package/dist/outputs.d.ts.map +1 -1
- package/dist/prompt_values.d.cts +10 -11
- package/dist/prompt_values.d.cts.map +1 -1
- package/dist/prompt_values.d.ts +10 -11
- package/dist/prompt_values.d.ts.map +1 -1
- package/dist/prompts/base.d.cts +4 -5
- package/dist/prompts/base.d.cts.map +1 -1
- package/dist/prompts/base.d.ts +4 -5
- package/dist/prompts/base.d.ts.map +1 -1
- package/dist/prompts/chat.d.cts +14 -15
- package/dist/prompts/chat.d.cts.map +1 -1
- package/dist/prompts/chat.d.ts +14 -15
- package/dist/prompts/chat.d.ts.map +1 -1
- package/dist/prompts/dict.d.cts +1 -2
- package/dist/prompts/dict.d.cts.map +1 -1
- package/dist/prompts/dict.d.ts +1 -2
- package/dist/prompts/dict.d.ts.map +1 -1
- package/dist/prompts/few_shot.d.cts +4 -5
- package/dist/prompts/few_shot.d.cts.map +1 -1
- package/dist/prompts/few_shot.d.ts +4 -5
- package/dist/prompts/few_shot.d.ts.map +1 -1
- package/dist/prompts/image.d.cts +2 -3
- package/dist/prompts/image.d.cts.map +1 -1
- package/dist/prompts/image.d.ts +2 -3
- package/dist/prompts/image.d.ts.map +1 -1
- package/dist/prompts/pipeline.d.cts +3 -4
- package/dist/prompts/pipeline.d.cts.map +1 -1
- package/dist/prompts/pipeline.d.ts +3 -4
- package/dist/prompts/pipeline.d.ts.map +1 -1
- package/dist/prompts/prompt.d.cts +4 -5
- package/dist/prompts/prompt.d.cts.map +1 -1
- package/dist/prompts/prompt.d.ts +4 -5
- package/dist/prompts/prompt.d.ts.map +1 -1
- package/dist/prompts/serde.d.cts +3 -4
- package/dist/prompts/serde.d.cts.map +1 -1
- package/dist/prompts/serde.d.ts +3 -4
- package/dist/prompts/serde.d.ts.map +1 -1
- package/dist/prompts/string.d.cts +1 -2
- package/dist/prompts/string.d.cts.map +1 -1
- package/dist/prompts/string.d.ts +1 -2
- package/dist/prompts/string.d.ts.map +1 -1
- package/dist/prompts/structured.d.cts +2 -3
- package/dist/prompts/structured.d.cts.map +1 -1
- package/dist/prompts/structured.d.ts +2 -3
- package/dist/prompts/structured.d.ts.map +1 -1
- package/dist/prompts/template.d.cts +12 -13
- package/dist/prompts/template.d.cts.map +1 -1
- package/dist/prompts/template.d.ts +12 -13
- package/dist/prompts/template.d.ts.map +1 -1
- package/dist/retrievers/document_compressors/index.d.cts +1 -2
- package/dist/retrievers/document_compressors/index.d.cts.map +1 -1
- package/dist/retrievers/document_compressors/index.d.ts +1 -2
- package/dist/retrievers/document_compressors/index.d.ts.map +1 -1
- package/dist/retrievers/index.d.cts +3 -4
- package/dist/retrievers/index.d.cts.map +1 -1
- package/dist/retrievers/index.d.ts +3 -4
- package/dist/retrievers/index.d.ts.map +1 -1
- package/dist/runnables/base.d.cts +23 -23
- package/dist/runnables/base.d.cts.map +1 -1
- package/dist/runnables/base.d.ts +23 -23
- package/dist/runnables/base.d.ts.map +1 -1
- package/dist/runnables/branch.d.cts +3 -4
- package/dist/runnables/branch.d.cts.map +1 -1
- package/dist/runnables/branch.d.ts +3 -4
- package/dist/runnables/branch.d.ts.map +1 -1
- package/dist/runnables/config.d.cts +6 -6
- package/dist/runnables/config.d.cts.map +1 -1
- package/dist/runnables/config.d.ts +6 -6
- package/dist/runnables/config.d.ts.map +1 -1
- package/dist/runnables/graph.d.cts +2 -2
- package/dist/runnables/graph.d.cts.map +1 -1
- package/dist/runnables/graph.d.ts +2 -2
- package/dist/runnables/graph.d.ts.map +1 -1
- package/dist/runnables/history.d.cts +2 -3
- package/dist/runnables/history.d.cts.map +1 -1
- package/dist/runnables/history.d.ts +2 -3
- package/dist/runnables/history.d.ts.map +1 -1
- package/dist/runnables/passthrough.d.cts +1 -2
- package/dist/runnables/passthrough.d.cts.map +1 -1
- package/dist/runnables/passthrough.d.ts +1 -2
- package/dist/runnables/passthrough.d.ts.map +1 -1
- package/dist/runnables/router.d.cts +2 -3
- package/dist/runnables/router.d.cts.map +1 -1
- package/dist/runnables/router.d.ts +2 -3
- package/dist/runnables/router.d.ts.map +1 -1
- package/dist/runnables/types.d.cts +6 -7
- package/dist/runnables/types.d.cts.map +1 -1
- package/dist/runnables/types.d.ts +6 -7
- package/dist/runnables/types.d.ts.map +1 -1
- package/dist/singletons/async_local_storage/context.d.cts +4 -5
- package/dist/singletons/async_local_storage/context.d.cts.map +1 -1
- package/dist/singletons/async_local_storage/context.d.ts +4 -5
- package/dist/singletons/async_local_storage/context.d.ts.map +1 -1
- package/dist/singletons/async_local_storage/globals.d.cts +2 -3
- package/dist/singletons/async_local_storage/globals.d.cts.map +1 -1
- package/dist/singletons/async_local_storage/globals.d.ts +2 -3
- package/dist/singletons/async_local_storage/globals.d.ts.map +1 -1
- package/dist/singletons/async_local_storage/index.d.cts +2 -2
- package/dist/singletons/async_local_storage/index.d.cts.map +1 -1
- package/dist/singletons/async_local_storage/index.d.ts +2 -2
- package/dist/singletons/async_local_storage/index.d.ts.map +1 -1
- package/dist/singletons/callbacks.d.cts +2 -3
- package/dist/singletons/callbacks.d.cts.map +1 -1
- package/dist/singletons/callbacks.d.ts +2 -3
- package/dist/singletons/callbacks.d.ts.map +1 -1
- package/dist/stores.d.cts +2 -3
- package/dist/stores.d.cts.map +1 -1
- package/dist/stores.d.ts +2 -3
- package/dist/stores.d.ts.map +1 -1
- package/dist/structured_query/base.d.cts +3 -4
- package/dist/structured_query/base.d.cts.map +1 -1
- package/dist/structured_query/base.d.ts +3 -4
- package/dist/structured_query/base.d.ts.map +1 -1
- package/dist/structured_query/functional.d.cts +2 -3
- package/dist/structured_query/functional.d.cts.map +1 -1
- package/dist/structured_query/functional.d.ts +2 -3
- package/dist/structured_query/functional.d.ts.map +1 -1
- package/dist/structured_query/ir.d.cts +23 -24
- package/dist/structured_query/ir.d.cts.map +1 -1
- package/dist/structured_query/ir.d.ts +23 -24
- package/dist/structured_query/ir.d.ts.map +1 -1
- package/dist/structured_query/utils.d.cts +7 -8
- package/dist/structured_query/utils.d.cts.map +1 -1
- package/dist/structured_query/utils.d.ts +7 -8
- package/dist/structured_query/utils.d.ts.map +1 -1
- package/dist/testing/fake_model_builder.d.cts +2 -3
- package/dist/testing/fake_model_builder.d.cts.map +1 -1
- package/dist/testing/fake_model_builder.d.ts +2 -3
- package/dist/testing/fake_model_builder.d.ts.map +1 -1
- package/dist/testing/index.d.cts +1 -0
- package/dist/testing/index.d.ts +1 -0
- package/dist/testing/matchers.d.cts +12 -13
- package/dist/testing/matchers.d.cts.map +1 -1
- package/dist/testing/matchers.d.ts +12 -13
- package/dist/testing/matchers.d.ts.map +1 -1
- package/dist/testing/vitest-expect.d.cts +8 -0
- package/dist/testing/vitest-expect.d.cts.map +1 -0
- package/dist/testing/vitest-expect.d.ts +8 -0
- package/dist/testing/vitest-expect.d.ts.map +1 -0
- package/dist/tools/index.d.cts +21 -21
- package/dist/tools/index.d.cts.map +1 -1
- package/dist/tools/index.d.ts +21 -21
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/types.d.cts +25 -26
- package/dist/tools/types.d.cts.map +1 -1
- package/dist/tools/types.d.ts +25 -26
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/utils.d.cts +1 -2
- package/dist/tools/utils.d.cts.map +1 -1
- package/dist/tools/utils.d.ts +1 -2
- package/dist/tools/utils.d.ts.map +1 -1
- package/dist/tracers/base.cjs +7 -4
- package/dist/tracers/base.cjs.map +1 -1
- package/dist/tracers/base.d.cts +7 -8
- package/dist/tracers/base.d.cts.map +1 -1
- package/dist/tracers/base.d.ts +7 -8
- package/dist/tracers/base.d.ts.map +1 -1
- package/dist/tracers/base.js +7 -4
- package/dist/tracers/base.js.map +1 -1
- package/dist/tracers/console.d.cts +1 -2
- package/dist/tracers/console.d.cts.map +1 -1
- package/dist/tracers/console.d.ts +1 -2
- package/dist/tracers/console.d.ts.map +1 -1
- package/dist/tracers/event_stream.d.cts +3 -4
- package/dist/tracers/event_stream.d.cts.map +1 -1
- package/dist/tracers/event_stream.d.ts +3 -4
- package/dist/tracers/event_stream.d.ts.map +1 -1
- package/dist/tracers/log_stream.d.cts +9 -9
- package/dist/tracers/log_stream.d.cts.map +1 -1
- package/dist/tracers/log_stream.d.ts +9 -9
- package/dist/tracers/log_stream.d.ts.map +1 -1
- package/dist/tracers/run_collector.d.cts +1 -2
- package/dist/tracers/run_collector.d.cts.map +1 -1
- package/dist/tracers/run_collector.d.ts +1 -2
- package/dist/tracers/run_collector.d.ts.map +1 -1
- package/dist/tracers/tracer_langchain.d.cts +6 -7
- package/dist/tracers/tracer_langchain.d.cts.map +1 -1
- package/dist/tracers/tracer_langchain.d.ts +6 -7
- package/dist/tracers/tracer_langchain.d.ts.map +1 -1
- package/dist/types/_internal.d.cts +1 -2
- package/dist/types/_internal.d.cts.map +1 -1
- package/dist/types/_internal.d.ts +1 -2
- package/dist/types/_internal.d.ts.map +1 -1
- package/dist/types/type-utils.d.cts +2 -3
- package/dist/types/type-utils.d.cts.map +1 -1
- package/dist/types/type-utils.d.ts +2 -3
- package/dist/types/type-utils.d.ts.map +1 -1
- package/dist/utils/async_caller.d.cts +6 -7
- package/dist/utils/async_caller.d.cts.map +1 -1
- package/dist/utils/async_caller.d.ts +6 -7
- package/dist/utils/async_caller.d.ts.map +1 -1
- package/dist/utils/chunk_array.d.cts +1 -2
- package/dist/utils/chunk_array.d.cts.map +1 -1
- package/dist/utils/chunk_array.d.ts +1 -2
- package/dist/utils/chunk_array.d.ts.map +1 -1
- package/dist/utils/context.d.cts +1 -2
- package/dist/utils/context.d.cts.map +1 -1
- package/dist/utils/context.d.ts +1 -2
- package/dist/utils/context.d.ts.map +1 -1
- package/dist/utils/env.d.cts +9 -10
- package/dist/utils/env.d.cts.map +1 -1
- package/dist/utils/env.d.ts +9 -10
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/event_source_parse.d.cts +6 -7
- package/dist/utils/event_source_parse.d.cts.map +1 -1
- package/dist/utils/event_source_parse.d.ts +6 -7
- package/dist/utils/event_source_parse.d.ts.map +1 -1
- package/dist/utils/fast-json-patch/src/core.d.cts +13 -14
- package/dist/utils/fast-json-patch/src/core.d.cts.map +1 -1
- package/dist/utils/fast-json-patch/src/core.d.ts +13 -14
- package/dist/utils/fast-json-patch/src/core.d.ts.map +1 -1
- package/dist/utils/fast-json-patch/src/duplex.d.cts +1 -2
- package/dist/utils/fast-json-patch/src/duplex.d.cts.map +1 -1
- package/dist/utils/fast-json-patch/src/duplex.d.ts +1 -2
- package/dist/utils/fast-json-patch/src/duplex.d.ts.map +1 -1
- package/dist/utils/format.d.cts +2 -3
- package/dist/utils/format.d.cts.map +1 -1
- package/dist/utils/format.d.ts +2 -3
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/function_calling.d.cts +3 -3
- package/dist/utils/function_calling.d.cts.map +1 -1
- package/dist/utils/function_calling.d.ts +3 -3
- package/dist/utils/function_calling.d.ts.map +1 -1
- package/dist/utils/gateway.d.cts +4 -5
- package/dist/utils/gateway.d.cts.map +1 -1
- package/dist/utils/gateway.d.ts +4 -5
- package/dist/utils/gateway.d.ts.map +1 -1
- package/dist/utils/hash.d.cts +2 -2
- package/dist/utils/hash.d.cts.map +1 -1
- package/dist/utils/hash.d.ts +2 -2
- package/dist/utils/hash.d.ts.map +1 -1
- package/dist/utils/js-sha256/hash.cjs +2 -2
- package/dist/utils/js-sha256/hash.cjs.map +1 -1
- package/dist/utils/js-sha256/hash.d.cts +1 -2
- package/dist/utils/js-sha256/hash.d.cts.map +1 -1
- package/dist/utils/js-sha256/hash.d.ts +1 -2
- package/dist/utils/js-sha256/hash.d.ts.map +1 -1
- package/dist/utils/js-sha256/hash.js +2 -2
- package/dist/utils/js-sha256/hash.js.map +1 -1
- package/dist/utils/json.d.cts +2 -3
- package/dist/utils/json.d.cts.map +1 -1
- package/dist/utils/json.d.ts +2 -3
- package/dist/utils/json.d.ts.map +1 -1
- package/dist/utils/json_schema.d.cts +4 -4
- package/dist/utils/json_schema.d.cts.map +1 -1
- package/dist/utils/json_schema.d.ts +4 -4
- package/dist/utils/json_schema.d.ts.map +1 -1
- package/dist/utils/math.d.cts +6 -7
- package/dist/utils/math.d.cts.map +1 -1
- package/dist/utils/math.d.ts +6 -7
- package/dist/utils/math.d.ts.map +1 -1
- package/dist/utils/ml-distance/similarities.d.cts +1 -2
- package/dist/utils/ml-distance/similarities.d.cts.map +1 -1
- package/dist/utils/ml-distance/similarities.d.ts +1 -2
- package/dist/utils/ml-distance/similarities.d.ts.map +1 -1
- package/dist/utils/namespace.cjs.map +1 -1
- package/dist/utils/namespace.d.cts +2 -3
- package/dist/utils/namespace.d.cts.map +1 -1
- package/dist/utils/namespace.d.ts +2 -3
- package/dist/utils/namespace.d.ts.map +1 -1
- package/dist/utils/namespace.js.map +1 -1
- package/dist/utils/signal.d.cts +1 -2
- package/dist/utils/signal.d.cts.map +1 -1
- package/dist/utils/signal.d.ts +1 -2
- package/dist/utils/signal.d.ts.map +1 -1
- package/dist/utils/ssrf.d.cts +6 -7
- package/dist/utils/ssrf.d.cts.map +1 -1
- package/dist/utils/ssrf.d.ts +6 -7
- package/dist/utils/ssrf.d.ts.map +1 -1
- package/dist/utils/standard_schema.d.cts +4 -5
- package/dist/utils/standard_schema.d.cts.map +1 -1
- package/dist/utils/standard_schema.d.ts +4 -5
- package/dist/utils/standard_schema.d.ts.map +1 -1
- package/dist/utils/stream.d.cts +6 -6
- package/dist/utils/stream.d.cts.map +1 -1
- package/dist/utils/stream.d.ts +6 -6
- package/dist/utils/stream.d.ts.map +1 -1
- package/dist/utils/testing/chat_models.d.cts +8 -9
- package/dist/utils/testing/chat_models.d.cts.map +1 -1
- package/dist/utils/testing/chat_models.d.ts +8 -9
- package/dist/utils/testing/chat_models.d.ts.map +1 -1
- package/dist/utils/testing/embeddings.d.cts +2 -3
- package/dist/utils/testing/embeddings.d.cts.map +1 -1
- package/dist/utils/testing/embeddings.d.ts +2 -3
- package/dist/utils/testing/embeddings.d.ts.map +1 -1
- package/dist/utils/testing/llms.d.cts +2 -3
- package/dist/utils/testing/llms.d.cts.map +1 -1
- package/dist/utils/testing/llms.d.ts +2 -3
- package/dist/utils/testing/llms.d.ts.map +1 -1
- package/dist/utils/testing/message_history.d.cts +3 -4
- package/dist/utils/testing/message_history.d.cts.map +1 -1
- package/dist/utils/testing/message_history.d.ts +3 -4
- package/dist/utils/testing/message_history.d.ts.map +1 -1
- package/dist/utils/testing/openai_stream_fixtures.d.cts +6 -7
- package/dist/utils/testing/openai_stream_fixtures.d.cts.map +1 -1
- package/dist/utils/testing/openai_stream_fixtures.d.ts +6 -7
- package/dist/utils/testing/openai_stream_fixtures.d.ts.map +1 -1
- package/dist/utils/testing/output_parsers.d.cts +1 -2
- package/dist/utils/testing/output_parsers.d.cts.map +1 -1
- package/dist/utils/testing/output_parsers.d.ts +1 -2
- package/dist/utils/testing/output_parsers.d.ts.map +1 -1
- package/dist/utils/testing/retrievers.d.cts +1 -2
- package/dist/utils/testing/retrievers.d.cts.map +1 -1
- package/dist/utils/testing/retrievers.d.ts +1 -2
- package/dist/utils/testing/retrievers.d.ts.map +1 -1
- package/dist/utils/testing/runnables.d.cts +1 -2
- package/dist/utils/testing/runnables.d.cts.map +1 -1
- package/dist/utils/testing/runnables.d.ts +1 -2
- package/dist/utils/testing/runnables.d.ts.map +1 -1
- package/dist/utils/testing/stream.d.cts +10 -11
- package/dist/utils/testing/stream.d.cts.map +1 -1
- package/dist/utils/testing/stream.d.ts +10 -11
- package/dist/utils/testing/stream.d.ts.map +1 -1
- package/dist/utils/testing/tools.d.cts +2 -3
- package/dist/utils/testing/tools.d.cts.map +1 -1
- package/dist/utils/testing/tools.d.ts +2 -3
- package/dist/utils/testing/tools.d.ts.map +1 -1
- package/dist/utils/testing/tracers.d.cts +1 -2
- package/dist/utils/testing/tracers.d.cts.map +1 -1
- package/dist/utils/testing/tracers.d.ts +1 -2
- package/dist/utils/testing/tracers.d.ts.map +1 -1
- package/dist/utils/testing/vectorstores.d.cts +2 -3
- package/dist/utils/testing/vectorstores.d.cts.map +1 -1
- package/dist/utils/testing/vectorstores.d.ts +2 -3
- package/dist/utils/testing/vectorstores.d.ts.map +1 -1
- package/dist/utils/tiktoken.d.cts +2 -3
- package/dist/utils/tiktoken.d.cts.map +1 -1
- package/dist/utils/tiktoken.d.ts +2 -3
- package/dist/utils/tiktoken.d.ts.map +1 -1
- package/dist/utils/types/index.d.cts +5 -5
- package/dist/utils/types/index.d.cts.map +1 -1
- package/dist/utils/types/index.d.ts +5 -5
- package/dist/utils/types/index.d.ts.map +1 -1
- package/dist/utils/types/zod.d.cts +62 -63
- package/dist/utils/types/zod.d.cts.map +1 -1
- package/dist/utils/types/zod.d.ts +62 -63
- package/dist/utils/types/zod.d.ts.map +1 -1
- package/dist/utils/uuid/index.d.cts +12 -12
- package/dist/utils/uuid/index.d.cts.map +1 -1
- package/dist/utils/uuid/index.d.ts +12 -12
- package/dist/utils/uuid/index.d.ts.map +1 -1
- package/dist/utils/uuid/types.d.cts +6 -7
- package/dist/utils/uuid/types.d.cts.map +1 -1
- package/dist/utils/uuid/types.d.ts +6 -7
- package/dist/utils/uuid/types.d.ts.map +1 -1
- package/dist/utils/uuid/v35.d.cts +2 -3
- package/dist/utils/uuid/v35.d.cts.map +1 -1
- package/dist/utils/uuid/v35.d.ts +2 -3
- package/dist/utils/uuid/v35.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/errorMessages.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/errorMessages.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/errorMessages.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/errorMessages.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parseTypes.d.cts +2 -3
- package/dist/utils/zod-to-json-schema/parseTypes.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parseTypes.d.ts +2 -3
- package/dist/utils/zod-to-json-schema/parseTypes.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/any.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/any.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/any.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/any.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/array.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/array.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/array.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/array.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/bigint.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/boolean.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/date.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/date.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/date.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/date.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/enum.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/enum.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/enum.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/enum.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/intersection.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/literal.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/literal.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/literal.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/literal.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/map.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/map.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/map.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/map.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/nativeEnum.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/never.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/never.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/never.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/never.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/null.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/null.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/null.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/null.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/nullable.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/number.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/number.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/number.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/number.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/object.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/object.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/object.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/object.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/record.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/record.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/record.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/record.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/set.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/set.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/set.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/set.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/string.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/string.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/string.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/string.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/tuple.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/undefined.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/union.d.cts +2 -3
- package/dist/utils/zod-to-json-schema/parsers/union.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/union.d.ts +2 -3
- package/dist/utils/zod-to-json-schema/parsers/union.d.ts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.cts.map +1 -1
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts +1 -2
- package/dist/utils/zod-to-json-schema/parsers/unknown.d.ts.map +1 -1
- package/dist/vectorstores.d.cts +8 -9
- package/dist/vectorstores.d.cts.map +1 -1
- package/dist/vectorstores.d.ts +8 -9
- package/dist/vectorstores.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SerializableSchema } from "../standard_schema.js";
|
|
2
2
|
//#region src/utils/types/zod.d.ts
|
|
3
|
-
interface ZodV3TypeDef {
|
|
3
|
+
export interface ZodV3TypeDef {
|
|
4
4
|
typeName?: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
}
|
|
8
|
-
interface ZodV3Like<Output = any, Input = Output> {
|
|
8
|
+
export interface ZodV3Like<Output = any, Input = Output> {
|
|
9
9
|
readonly _type: Output;
|
|
10
10
|
readonly _output: Output;
|
|
11
11
|
readonly _input: Input;
|
|
@@ -26,24 +26,24 @@ interface ZodV3Like<Output = any, Input = Output> {
|
|
|
26
26
|
optional?(): ZodV3Like<Output | undefined, Input | undefined>;
|
|
27
27
|
"~standard"?: any;
|
|
28
28
|
}
|
|
29
|
-
interface ZodV3ObjectLike extends ZodV3Like {
|
|
29
|
+
export interface ZodV3ObjectLike extends ZodV3Like {
|
|
30
30
|
readonly shape: Record<string, any>;
|
|
31
31
|
extend(augmentation: Record<string, any>): ZodV3ObjectLike;
|
|
32
32
|
partial(): ZodV3ObjectLike;
|
|
33
33
|
strict(): ZodV3ObjectLike;
|
|
34
34
|
passthrough(): ZodV3ObjectLike;
|
|
35
35
|
}
|
|
36
|
-
interface ZodV4Internals<O = any, I = any> {
|
|
36
|
+
export interface ZodV4Internals<O = any, I = any> {
|
|
37
37
|
def: any;
|
|
38
38
|
output: O;
|
|
39
39
|
input: I;
|
|
40
40
|
[key: string]: any;
|
|
41
41
|
}
|
|
42
|
-
interface ZodV4Like<Output = any, Input = Output> {
|
|
42
|
+
export interface ZodV4Like<Output = any, Input = Output> {
|
|
43
43
|
_zod: ZodV4Internals<Output, Input>;
|
|
44
44
|
"~standard"?: any;
|
|
45
45
|
}
|
|
46
|
-
interface ZodV4ObjectLike extends ZodV4Like {
|
|
46
|
+
export interface ZodV4ObjectLike extends ZodV4Like {
|
|
47
47
|
_zod: ZodV4Internals & {
|
|
48
48
|
def: {
|
|
49
49
|
type: "object";
|
|
@@ -52,7 +52,7 @@ interface ZodV4ObjectLike extends ZodV4Like {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
interface ZodV4ArrayLike extends ZodV4Like {
|
|
55
|
+
export interface ZodV4ArrayLike extends ZodV4Like {
|
|
56
56
|
_zod: ZodV4Internals & {
|
|
57
57
|
def: {
|
|
58
58
|
type: "array";
|
|
@@ -61,7 +61,7 @@ interface ZodV4ArrayLike extends ZodV4Like {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
interface ZodV4OptionalLike extends ZodV4Like {
|
|
64
|
+
export interface ZodV4OptionalLike extends ZodV4Like {
|
|
65
65
|
_zod: ZodV4Internals & {
|
|
66
66
|
def: {
|
|
67
67
|
type: "optional";
|
|
@@ -70,7 +70,7 @@ interface ZodV4OptionalLike extends ZodV4Like {
|
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
interface ZodV4NullableLike extends ZodV4Like {
|
|
73
|
+
export interface ZodV4NullableLike extends ZodV4Like {
|
|
74
74
|
_zod: ZodV4Internals & {
|
|
75
75
|
def: {
|
|
76
76
|
type: "nullable";
|
|
@@ -79,7 +79,7 @@ interface ZodV4NullableLike extends ZodV4Like {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
interface ZodV4PipeLike extends ZodV4Like {
|
|
82
|
+
export interface ZodV4PipeLike extends ZodV4Like {
|
|
83
83
|
_zod: ZodV4Internals & {
|
|
84
84
|
def: {
|
|
85
85
|
type: "pipe";
|
|
@@ -89,66 +89,66 @@ interface ZodV4PipeLike extends ZodV4Like {
|
|
|
89
89
|
[key: string]: unknown;
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
interface ZodV3EffectsLike extends ZodV3Like {
|
|
92
|
+
export interface ZodV3EffectsLike extends ZodV3Like {
|
|
93
93
|
_def: ZodV3TypeDef & {
|
|
94
94
|
typeName: "ZodEffects";
|
|
95
95
|
schema: InteropZodType;
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
type ZodStringV3 = ZodV3Like<string>;
|
|
99
|
-
type ZodStringV4 = ZodV4Like<string, unknown>;
|
|
100
|
-
type ZodObjectV3 = ZodV3ObjectLike;
|
|
101
|
-
type ZodObjectV4 = ZodV4ObjectLike;
|
|
102
|
-
type ZodObjectV4Classic = ZodV4ObjectLike;
|
|
103
|
-
type ZodObjectMain = ZodV4ObjectLike;
|
|
104
|
-
type ZodDefaultV3<T extends ZodV3Like> = ZodV3Like<T extends ZodV3Like<infer O, any> ? O : any>;
|
|
105
|
-
type ZodDefaultV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O : any>;
|
|
106
|
-
type ZodOptionalV3<T extends ZodV3Like> = ZodV3Like<T extends ZodV3Like<infer O, any> ? O | undefined : any>;
|
|
107
|
-
type ZodOptionalV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O | undefined : any>;
|
|
108
|
-
type ZodNullableV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O | null : any>;
|
|
109
|
-
type InteropZodType<Output = any, Input = Output> = ZodV3Like<Output, Input> | ZodV4Like<Output, Input>;
|
|
110
|
-
type InteropZodObject = ZodV3ObjectLike | ZodV4ObjectLike;
|
|
111
|
-
type InteropZodDefault<T = InteropZodObject> = T extends ZodV3Like ? ZodDefaultV3<T> : T extends ZodV4Like ? ZodDefaultV4<T> : never;
|
|
112
|
-
type InteropZodOptional<T = InteropZodObject> = T extends ZodV3Like ? ZodOptionalV3<T> : T extends ZodV4Like ? ZodOptionalV4<T> : never;
|
|
113
|
-
type InteropZodObjectShape<T extends InteropZodObject = InteropZodObject> = T extends ZodV3ObjectLike ? { [K in keyof T["shape"]]: T["shape"][K]; } : T extends ZodV4ObjectLike ? { [K in keyof T["_zod"]["def"]["shape"]]: T["_zod"]["def"]["shape"][K]; } : never;
|
|
114
|
-
interface InteropZodIssue {
|
|
98
|
+
export type ZodStringV3 = ZodV3Like<string>;
|
|
99
|
+
export type ZodStringV4 = ZodV4Like<string, unknown>;
|
|
100
|
+
export type ZodObjectV3 = ZodV3ObjectLike;
|
|
101
|
+
export type ZodObjectV4 = ZodV4ObjectLike;
|
|
102
|
+
export type ZodObjectV4Classic = ZodV4ObjectLike;
|
|
103
|
+
export type ZodObjectMain = ZodV4ObjectLike;
|
|
104
|
+
export type ZodDefaultV3<T extends ZodV3Like> = ZodV3Like<T extends ZodV3Like<infer O, any> ? O : any>;
|
|
105
|
+
export type ZodDefaultV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O : any>;
|
|
106
|
+
export type ZodOptionalV3<T extends ZodV3Like> = ZodV3Like<T extends ZodV3Like<infer O, any> ? O | undefined : any>;
|
|
107
|
+
export type ZodOptionalV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O | undefined : any>;
|
|
108
|
+
export type ZodNullableV4<T extends ZodV4Like> = ZodV4Like<T extends ZodV4Like<infer O, any> ? O | null : any>;
|
|
109
|
+
export type InteropZodType<Output = any, Input = Output> = ZodV3Like<Output, Input> | ZodV4Like<Output, Input>;
|
|
110
|
+
export type InteropZodObject = ZodV3ObjectLike | ZodV4ObjectLike;
|
|
111
|
+
export type InteropZodDefault<T = InteropZodObject> = T extends ZodV3Like ? ZodDefaultV3<T> : T extends ZodV4Like ? ZodDefaultV4<T> : never;
|
|
112
|
+
export type InteropZodOptional<T = InteropZodObject> = T extends ZodV3Like ? ZodOptionalV3<T> : T extends ZodV4Like ? ZodOptionalV4<T> : never;
|
|
113
|
+
export type InteropZodObjectShape<T extends InteropZodObject = InteropZodObject> = T extends ZodV3ObjectLike ? { [K in keyof T["shape"]]: T["shape"][K]; } : T extends ZodV4ObjectLike ? { [K in keyof T["_zod"]["def"]["shape"]]: T["_zod"]["def"]["shape"][K]; } : never;
|
|
114
|
+
export interface InteropZodIssue {
|
|
115
115
|
message: string;
|
|
116
116
|
path: (string | number)[];
|
|
117
117
|
[key: string]: unknown;
|
|
118
118
|
}
|
|
119
|
-
type InferInteropZodInput<T> = T extends ZodV3Like<unknown, infer Input> ? Input : T extends ZodV4Like<unknown, infer Input> ? Input : T extends {
|
|
119
|
+
export type InferInteropZodInput<T> = T extends ZodV3Like<unknown, infer Input> ? Input : T extends ZodV4Like<unknown, infer Input> ? Input : T extends {
|
|
120
120
|
_zod: {
|
|
121
121
|
input: infer Input;
|
|
122
122
|
};
|
|
123
123
|
} ? Input : never;
|
|
124
|
-
type InferInteropZodOutput<T> = T extends ZodV3Like<infer Output, unknown> ? Output : T extends ZodV4Like<infer Output, unknown> ? Output : T extends {
|
|
124
|
+
export type InferInteropZodOutput<T> = T extends ZodV3Like<infer Output, unknown> ? Output : T extends ZodV4Like<infer Output, unknown> ? Output : T extends {
|
|
125
125
|
_zod: {
|
|
126
126
|
output: infer Output;
|
|
127
127
|
};
|
|
128
128
|
} ? Output : never;
|
|
129
|
-
type InteropZodLiteral = ZodV3Like | ZodV4Like;
|
|
130
|
-
type Mutable<T> = { -readonly [P in keyof T]: T[P]; };
|
|
131
|
-
declare function isZodSchemaV4(schema: unknown): schema is ZodV4Like<unknown, unknown>;
|
|
132
|
-
declare function isZodSchemaV3(schema: unknown): schema is ZodV3Like<unknown, unknown>;
|
|
129
|
+
export type InteropZodLiteral = ZodV3Like | ZodV4Like;
|
|
130
|
+
export type Mutable<T> = { -readonly [P in keyof T]: T[P]; };
|
|
131
|
+
export declare function isZodSchemaV4(schema: unknown): schema is ZodV4Like<unknown, unknown>;
|
|
132
|
+
export declare function isZodSchemaV3(schema: unknown): schema is ZodV3Like<unknown, unknown>;
|
|
133
133
|
/** Backward compatible isZodSchema for Zod 3 */
|
|
134
|
-
declare function isZodSchema<RunOutput extends Record<string, unknown> = Record<string, unknown>>(schema: ZodV3Like<RunOutput> | Record<string, unknown>): schema is ZodV3Like<RunOutput>;
|
|
134
|
+
export declare function isZodSchema<RunOutput extends Record<string, unknown> = Record<string, unknown>>(schema: ZodV3Like<RunOutput> | Record<string, unknown>): schema is ZodV3Like<RunOutput>;
|
|
135
135
|
/**
|
|
136
136
|
* Given either a Zod schema, or plain object, determine if the input is a Zod schema.
|
|
137
137
|
*
|
|
138
138
|
* @param {unknown} input
|
|
139
139
|
* @returns {boolean} Whether or not the provided input is a Zod schema.
|
|
140
140
|
*/
|
|
141
|
-
declare function isInteropZodSchema(input: unknown): input is InteropZodType;
|
|
142
|
-
declare function isZodLiteralV3(obj: unknown): obj is ZodV3Like;
|
|
143
|
-
declare function isZodLiteralV4(obj: unknown): obj is ZodV4Like;
|
|
141
|
+
export declare function isInteropZodSchema(input: unknown): input is InteropZodType;
|
|
142
|
+
export declare function isZodLiteralV3(obj: unknown): obj is ZodV3Like;
|
|
143
|
+
export declare function isZodLiteralV4(obj: unknown): obj is ZodV4Like;
|
|
144
144
|
/**
|
|
145
145
|
* Determines if the provided value is an InteropZodLiteral (Zod v3 or v4 literal schema).
|
|
146
146
|
*
|
|
147
147
|
* @param obj The value to check.
|
|
148
148
|
* @returns {boolean} True if the value is a Zod v3 or v4 literal schema, false otherwise.
|
|
149
149
|
*/
|
|
150
|
-
declare function isInteropZodLiteral(obj: unknown): obj is InteropZodLiteral;
|
|
151
|
-
interface InteropZodError {
|
|
150
|
+
export declare function isInteropZodLiteral(obj: unknown): obj is InteropZodLiteral;
|
|
151
|
+
export interface InteropZodError {
|
|
152
152
|
issues: InteropZodIssue[];
|
|
153
153
|
}
|
|
154
154
|
type InteropZodSafeParseResult<T> = {
|
|
@@ -170,7 +170,7 @@ type InteropZodSafeParseResult<T> = {
|
|
|
170
170
|
* @returns {Promise<InteropZodSafeParseResult<T>>} A promise that resolves to a safe parse result object.
|
|
171
171
|
* @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.
|
|
172
172
|
*/
|
|
173
|
-
declare function interopSafeParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<InteropZodSafeParseResult<T>>;
|
|
173
|
+
export declare function interopSafeParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<InteropZodSafeParseResult<T>>;
|
|
174
174
|
/**
|
|
175
175
|
* Asynchronously parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.
|
|
176
176
|
* Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.
|
|
@@ -181,7 +181,7 @@ declare function interopSafeParseAsync<T>(schema: InteropZodType<T>, input: unkn
|
|
|
181
181
|
* @returns {Promise<T>} A promise that resolves to the parsed value.
|
|
182
182
|
* @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.
|
|
183
183
|
*/
|
|
184
|
-
declare function interopParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<T>;
|
|
184
|
+
export declare function interopParseAsync<T>(schema: InteropZodType<T>, input: unknown): Promise<T>;
|
|
185
185
|
/**
|
|
186
186
|
* Safely parses the input using the provided Zod schema (v3 or v4) and returns a result object
|
|
187
187
|
* indicating success or failure. This function is compatible with both Zod v3 and v4 schemas.
|
|
@@ -193,7 +193,7 @@ declare function interopParseAsync<T>(schema: InteropZodType<T>, input: unknown)
|
|
|
193
193
|
* or the error (on failure).
|
|
194
194
|
* @throws {Error} If the schema is not a recognized Zod v3 or v4 schema.
|
|
195
195
|
*/
|
|
196
|
-
declare function interopSafeParse<T>(schema: InteropZodType<T>, input: unknown): InteropZodSafeParseResult<T>;
|
|
196
|
+
export declare function interopSafeParse<T>(schema: InteropZodType<T>, input: unknown): InteropZodSafeParseResult<T>;
|
|
197
197
|
/**
|
|
198
198
|
* Parses the input using the provided Zod schema (v3 or v4) and returns the parsed value.
|
|
199
199
|
* Throws an error if parsing fails or if the schema is not a recognized Zod v3 or v4 schema.
|
|
@@ -204,14 +204,14 @@ declare function interopSafeParse<T>(schema: InteropZodType<T>, input: unknown):
|
|
|
204
204
|
* @returns {T} The parsed value.
|
|
205
205
|
* @throws {Error} If parsing fails or the schema is not a recognized Zod v3 or v4 schema.
|
|
206
206
|
*/
|
|
207
|
-
declare function interopParse<T>(schema: InteropZodType<T>, input: unknown): T;
|
|
207
|
+
export declare function interopParse<T>(schema: InteropZodType<T>, input: unknown): T;
|
|
208
208
|
/**
|
|
209
209
|
* Retrieves the description from a schema definition (v3, v4, standard schema, or plain object), if available.
|
|
210
210
|
*
|
|
211
211
|
* @param {unknown} schema - The schema to extract the description from.
|
|
212
212
|
* @returns {string | undefined} The description of the schema, or undefined if not present.
|
|
213
213
|
*/
|
|
214
|
-
declare function getSchemaDescription(schema: SerializableSchema | InteropZodType<unknown> | Record<string, unknown>): string | undefined;
|
|
214
|
+
export declare function getSchemaDescription(schema: SerializableSchema | InteropZodType<unknown> | Record<string, unknown>): string | undefined;
|
|
215
215
|
/**
|
|
216
216
|
* Determines if the provided Zod schema is "shapeless".
|
|
217
217
|
* A shapeless schema is one that does not define any object shape,
|
|
@@ -223,7 +223,7 @@ declare function getSchemaDescription(schema: SerializableSchema | InteropZodTyp
|
|
|
223
223
|
* @param schema The Zod schema to check.
|
|
224
224
|
* @returns {boolean} True if the schema is shapeless, false otherwise.
|
|
225
225
|
*/
|
|
226
|
-
declare function isShapelessZodSchema(schema: unknown): boolean;
|
|
226
|
+
export declare function isShapelessZodSchema(schema: unknown): boolean;
|
|
227
227
|
/**
|
|
228
228
|
* Determines if the provided Zod schema should be treated as a simple string schema
|
|
229
229
|
* that maps to DynamicTool. This aligns with the type-level constraint of
|
|
@@ -247,19 +247,19 @@ declare function isShapelessZodSchema(schema: unknown): boolean;
|
|
|
247
247
|
* @param schema The Zod schema to check.
|
|
248
248
|
* @returns {boolean} True if the schema is a basic ZodString, false otherwise.
|
|
249
249
|
*/
|
|
250
|
-
declare function isSimpleStringZodSchema(schema: unknown): schema is InteropZodType<string | undefined>;
|
|
251
|
-
declare function isZodObjectV3(obj: unknown): obj is ZodObjectV3;
|
|
252
|
-
declare function isZodObjectV4(obj: unknown): obj is ZodV4ObjectLike;
|
|
253
|
-
declare function isZodArrayV4(obj: unknown): obj is ZodV4ArrayLike;
|
|
254
|
-
declare function isZodOptionalV4(obj: unknown): obj is ZodV4OptionalLike;
|
|
255
|
-
declare function isZodNullableV4(obj: unknown): obj is ZodV4NullableLike;
|
|
250
|
+
export declare function isSimpleStringZodSchema(schema: unknown): schema is InteropZodType<string | undefined>;
|
|
251
|
+
export declare function isZodObjectV3(obj: unknown): obj is ZodObjectV3;
|
|
252
|
+
export declare function isZodObjectV4(obj: unknown): obj is ZodV4ObjectLike;
|
|
253
|
+
export declare function isZodArrayV4(obj: unknown): obj is ZodV4ArrayLike;
|
|
254
|
+
export declare function isZodOptionalV4(obj: unknown): obj is ZodV4OptionalLike;
|
|
255
|
+
export declare function isZodNullableV4(obj: unknown): obj is ZodV4NullableLike;
|
|
256
256
|
/**
|
|
257
257
|
* Determines if the provided value is an InteropZodObject (Zod v3 or v4 object schema).
|
|
258
258
|
*
|
|
259
259
|
* @param obj The value to check.
|
|
260
260
|
* @returns {boolean} True if the value is a Zod v3 or v4 object schema, false otherwise.
|
|
261
261
|
*/
|
|
262
|
-
declare function isInteropZodObject(obj: unknown): obj is InteropZodObject;
|
|
262
|
+
export declare function isInteropZodObject(obj: unknown): obj is InteropZodObject;
|
|
263
263
|
/**
|
|
264
264
|
* Retrieves the shape (fields) of a Zod object schema, supporting both Zod v3 and v4.
|
|
265
265
|
*
|
|
@@ -268,7 +268,7 @@ declare function isInteropZodObject(obj: unknown): obj is InteropZodObject;
|
|
|
268
268
|
* @returns {InteropZodObjectShape<T>} The shape of the object schema.
|
|
269
269
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
270
270
|
*/
|
|
271
|
-
declare function getInteropZodObjectShape<T extends InteropZodObject>(schema: T): InteropZodObjectShape<T>;
|
|
271
|
+
export declare function getInteropZodObjectShape<T extends InteropZodObject>(schema: T): InteropZodObjectShape<T>;
|
|
272
272
|
/**
|
|
273
273
|
* Extends a Zod object schema with additional fields, supporting both Zod v3 and v4.
|
|
274
274
|
*
|
|
@@ -278,7 +278,7 @@ declare function getInteropZodObjectShape<T extends InteropZodObject>(schema: T)
|
|
|
278
278
|
* @returns {InteropZodObject} The extended Zod object schema.
|
|
279
279
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
280
280
|
*/
|
|
281
|
-
declare function extendInteropZodObject<T extends InteropZodObject>(schema: T, extension: InteropZodObjectShape): InteropZodObject;
|
|
281
|
+
export declare function extendInteropZodObject<T extends InteropZodObject>(schema: T, extension: InteropZodObjectShape): InteropZodObject;
|
|
282
282
|
/**
|
|
283
283
|
* Returns a partial version of a Zod object schema, making all fields optional.
|
|
284
284
|
* Supports both Zod v3 and v4.
|
|
@@ -288,7 +288,7 @@ declare function extendInteropZodObject<T extends InteropZodObject>(schema: T, e
|
|
|
288
288
|
* @returns {InteropZodObject} The partial Zod object schema.
|
|
289
289
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
290
290
|
*/
|
|
291
|
-
declare function interopZodObjectPartial<T extends InteropZodObject>(schema: T): InteropZodObject;
|
|
291
|
+
export declare function interopZodObjectPartial<T extends InteropZodObject>(schema: T): InteropZodObject;
|
|
292
292
|
/**
|
|
293
293
|
* Returns a strict version of a Zod object schema, disallowing unknown keys.
|
|
294
294
|
* Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies strictness
|
|
@@ -300,7 +300,7 @@ declare function interopZodObjectPartial<T extends InteropZodObject>(schema: T):
|
|
|
300
300
|
* @returns {InteropZodObject} The strict Zod object schema.
|
|
301
301
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
302
302
|
*/
|
|
303
|
-
declare function interopZodObjectStrict<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;
|
|
303
|
+
export declare function interopZodObjectStrict<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;
|
|
304
304
|
/**
|
|
305
305
|
* Returns a passthrough version of a Zod object schema, allowing unknown keys.
|
|
306
306
|
* Supports both Zod v3 and v4 object schemas. If `recursive` is true, applies passthrough
|
|
@@ -312,7 +312,7 @@ declare function interopZodObjectStrict<T extends InteropZodObject>(schema: T, r
|
|
|
312
312
|
* @returns {InteropZodObject} The passthrough Zod object schema.
|
|
313
313
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
314
314
|
*/
|
|
315
|
-
declare function interopZodObjectPassthrough<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;
|
|
315
|
+
export declare function interopZodObjectPassthrough<T extends InteropZodObject>(schema: T, recursive?: boolean): InteropZodObject;
|
|
316
316
|
/**
|
|
317
317
|
* Returns a getter function for the default value of a Zod schema, if one is defined.
|
|
318
318
|
* Supports both Zod v3 and v4 schemas. If the schema has a default value,
|
|
@@ -323,7 +323,7 @@ declare function interopZodObjectPassthrough<T extends InteropZodObject>(schema:
|
|
|
323
323
|
* @param {T} schema - The Zod schema instance (either v3 or v4).
|
|
324
324
|
* @returns {(() => InferInteropZodOutput<T>) | undefined} A function that returns the default value, or undefined if no default is set.
|
|
325
325
|
*/
|
|
326
|
-
declare function getInteropZodDefaultGetter<T extends InteropZodType>(schema: T): (() => InferInteropZodOutput<T>) | undefined;
|
|
326
|
+
export declare function getInteropZodDefaultGetter<T extends InteropZodType>(schema: T): (() => InferInteropZodOutput<T>) | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* Returns the input type of a Zod transform schema, for both v3 and v4.
|
|
329
329
|
* If the schema is not a transform, returns undefined. If `recursive` is true,
|
|
@@ -333,7 +333,7 @@ declare function getInteropZodDefaultGetter<T extends InteropZodType>(schema: T)
|
|
|
333
333
|
* @param {boolean} [recursive=false] - Whether to recursively process nested objects/arrays.
|
|
334
334
|
* @returns The input Zod schema of the transform, or undefined if not a transform
|
|
335
335
|
*/
|
|
336
|
-
declare function interopZodTransformInputSchema(schema: InteropZodType, recursive?: boolean): InteropZodType;
|
|
336
|
+
export declare function interopZodTransformInputSchema(schema: InteropZodType, recursive?: boolean): InteropZodType;
|
|
337
337
|
/**
|
|
338
338
|
* Creates a modified version of a Zod object schema where fields matching a predicate are made optional.
|
|
339
339
|
* Supports both Zod v3 and v4 schemas and preserves the original schema version.
|
|
@@ -344,8 +344,7 @@ declare function interopZodTransformInputSchema(schema: InteropZodType, recursiv
|
|
|
344
344
|
* @returns {InteropZodObject} The modified Zod object schema.
|
|
345
345
|
* @throws {Error} If the schema is not a Zod v3 or v4 object.
|
|
346
346
|
*/
|
|
347
|
-
declare function interopZodObjectMakeFieldsOptional<T extends InteropZodObject>(schema: T, predicate: (key: string, value: InteropZodType) => boolean): InteropZodObject;
|
|
348
|
-
declare function isInteropZodError(e: unknown): boolean;
|
|
347
|
+
export declare function interopZodObjectMakeFieldsOptional<T extends InteropZodObject>(schema: T, predicate: (key: string, value: InteropZodType) => boolean): InteropZodObject;
|
|
348
|
+
export declare function isInteropZodError(e: unknown): boolean;
|
|
349
349
|
//#endregion
|
|
350
|
-
export { InferInteropZodInput, InferInteropZodOutput, InteropZodDefault, InteropZodError, InteropZodIssue, InteropZodLiteral, InteropZodObject, InteropZodObjectShape, InteropZodOptional, InteropZodType, Mutable, ZodDefaultV3, ZodDefaultV4, ZodNullableV4, ZodObjectMain, ZodObjectV3, ZodObjectV4, ZodObjectV4Classic, ZodOptionalV3, ZodOptionalV4, ZodStringV3, ZodStringV4, ZodV3EffectsLike, ZodV3Like, ZodV3ObjectLike, ZodV3TypeDef, ZodV4ArrayLike, ZodV4Internals, ZodV4Like, ZodV4NullableLike, ZodV4ObjectLike, ZodV4OptionalLike, ZodV4PipeLike, extendInteropZodObject, getInteropZodDefaultGetter, getInteropZodObjectShape, getSchemaDescription, interopParse, interopParseAsync, interopSafeParse, interopSafeParseAsync, interopZodObjectMakeFieldsOptional, interopZodObjectPartial, interopZodObjectPassthrough, interopZodObjectStrict, interopZodTransformInputSchema, isInteropZodError, isInteropZodLiteral, isInteropZodObject, isInteropZodSchema, isShapelessZodSchema, isSimpleStringZodSchema, isZodArrayV4, isZodLiteralV3, isZodLiteralV4, isZodNullableV4, isZodObjectV3, isZodObjectV4, isZodOptionalV4, isZodSchema, isZodSchemaV3, isZodSchemaV4 };
|
|
351
350
|
//# sourceMappingURL=zod.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","names":[],"sources":["../../../src/utils/types/zod.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"zod.d.ts","names":[],"sources":["../../../src/utils/types/zod.ts"],"mappings":";;iBAwDiB;EACf;EACA;GACC;;iBAGc,UAAU,cAAc,QAAQ;WACtC,OAAO;WACP,SAAS;WACT,QAAQ;WACR,MAAM;WACN;EACT,MAAM,eAAe,eAAe;EACpC,UACE,eACA;IACG;IAAkB,OAAO;IAAQ;;EACtC,WAAW,eAAe,eAAe,QAAQ;EACjD,eACE,eACA,eACC;IAAU;IAAkB,OAAO;IAAQ;;EAC9C,aAAa,UAAU,oBAAoB;EAC3C;;iBAGe,wBAAwB;WAC9B,OAAO;EAChB,OAAO,cAAc,sBAAsB;EAC3C,WAAW;EACX,UAAU;EACV,eAAe;;iBAGA,eAAe,SAAS;EACvC;EACA,QAAQ;EACR,OAAO;GACN;;iBAGc,UAAU,cAAc,QAAQ;EAC/C,MAAM,eAAe,QAAQ;EAC7B;;iBAGe,wBAAwB;EACvC,MAAM;IACJ;MAAO;MAAgB,OAAO;OAAsB;;;;iBAIvC,uBAAuB;EACtC,MAAM;IACJ;MAAO;MAAe,SAAS;OAAY;;;;iBAI9B,0BAA0B;EACzC,MAAM;IACJ;MAAO;MAAkB,WAAW;OAAY;;;;iBAInC,0BAA0B;EACzC,MAAM;IACJ;MAAO;MAAkB,WAAW;OAAY;;;;iBAInC,sBAAsB;EACrC,MAAM;IACJ;MAAO;MAAc,IAAI;OAAiB;;KACzC;;;iBAIY,yBAAyB;EACxC,MAAM;IACJ;IACA,QAAQ;;;YAMA,cAAc;YACd,cAAc;YAEd,cAAc;YACd,cAAc;YACd,qBAAqB;YACrB,gBAAgB;YAEhB,aAAa,UAAU,aAAa,UAC9C,UAAU,gBAAgB,UAAU;YAE1B,aAAa,UAAU,aAAa,UAC9C,UAAU,gBAAgB,UAAU;YAE1B,cAAc,UAAU,aAAa,UAC/C,UAAU,gBAAgB,UAAU;YAE1B,cAAc,UAAU,aAAa,UAC/C,UAAU,gBAAgB,UAAU;YAE1B,cAAc,UAAU,aAAa,UAC/C,UAAU,gBAAgB,UAAU;YAK1B,eAAe,cAAc,QAAQ,UAC7C,UAAU,QAAQ,SAClB,UAAU,QAAQ;YAEV,mBAAmB,kBAAkB;YAErC,kBAAkB,IAAI,oBAAoB,UAAU,YAC5D,aAAa,KACb,UAAU,YACR,aAAa;YAGP,mBAAmB,IAAI,oBAAoB,UAAU,YAC7D,cAAc,KACd,UAAU,YACR,cAAc;YAGR,sBACV,UAAU,mBAAmB,oBAC3B,UAAU,qBACP,WAAW,aAAa,WAAW,QACtC,UAAU,qBACL,WAAW,4BAA4B,0BAA0B;iBAGzD;EACf;EACA;GACC;;YAGS,qBAAqB,KAC/B,UAAU,yBAAyB,SAC/B,QACA,UAAU,yBAAyB,SACjC,QACA;EAAY;IAAQ,aAAa;;IAC/B;YAGE,sBAAsB,KAChC,UAAU,gBAAgB,mBACtB,SACA,UAAU,gBAAgB,mBACxB,SACA;EAAY;IAAQ,cAAc;;IAChC;YAGE,oBAAoB,YAAY;YAEhC,QAAQ,kBACP,WAAW,IAAI,EAAE;wBAGd,cACd,kBACC,UAAU;wBAkBG,cACd,kBACC,UAAU;;wBAmBG,YACd,kBAAkB,0BAA0B,yBAE5C,QAAQ,UAAU,aAAa,0BAC9B,UAAU,UAAU;;;;;;;wBAeP,mBAAmB,iBAAiB,SAAS;wBAgB7C,eAAe,eAAe,OAAO;wBAgBrC,eAAe,eAAe,OAAO;;;;;;;wBA0BrC,oBAAoB,eAAe,OAAO;iBAMzC;EACf,QAAQ;;KAGL,0BAA0B;EACzB;EAAe,MAAM;EAAG;;EACxB;EAAgB,OAAO;EAAiB;;;;;;;;;;;;wBAYxB,sBAAsB,GAC1C,QAAQ,eAAe,IACvB,iBACC,QAAQ,0BAA0B;;;;;;;;;;;wBA+Bf,kBAAkB,GACtC,QAAQ,eAAe,IACvB,iBACC,QAAQ;;;;;;;;;;;;wBAqBK,iBAAiB,GAC/B,QAAQ,eAAe,IACvB,iBACC,0BAA0B;;;;;;;;;;;wBA+Bb,aAAa,GAAG,QAAQ,eAAe,IAAI,iBAAiB;;;;;;;wBAgB5D,qBACd,QAAQ,qBAAqB,0BAA0B;;;;;;;;;;;;wBAyBzC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;wBAqErB,wBACd,kBACC,UAAU;wBAwBG,cAAc,eAAe,OAAO;wBAgBpC,cAAc,eAAe,OAAO;wBAoBpC,aAAa,eAAe,OAAO;wBAoBnC,gBAAgB,eAAe,OAAO;wBAoBtC,gBAAgB,eAAe,OAAO;;;;;;;wBA0BtC,mBAAmB,eAAe,OAAO;;;;;;;;;wBAczC,yBAAyB,UAAU,kBACjD,QAAQ,IACP,sBAAsB;;;;;;;;;;wBAqBT,uBAAuB,UAAU,kBAC/C,QAAQ,GACR,WAAW,wBACV;;;;;;;;;;wBAqBa,wBAAwB,UAAU,kBAChD,QAAQ,IACP;;;;;;;;;;;;wBAyBa,uBAAuB,UAAU,kBAC/C,QAAQ,GACR,sBACC;;;;;;;;;;;;wBA8Da,4BAA4B,UAAU,kBACpD,QAAQ,GACR,sBACC;;;;;;;;;;;wBAmEa,2BAA2B,UAAU,gBACnD,QAAQ,WACA,sBAAsB;;;;;;;;;;wBAqJhB,+BACd,QAAQ,gBACR,sBACC;;;;;;;;;;;wBAea,mCAAmC,UAAU,kBAC3D,QAAQ,GACR,YAAY,aAAa,OAAO,6BAC/B;wBAuDa,kBAAkB"}
|
|
@@ -9,17 +9,17 @@ import v7$1 from "./v7.cjs";
|
|
|
9
9
|
import validate$1 from "./validate.cjs";
|
|
10
10
|
import version$1 from "./version.cjs";
|
|
11
11
|
//#region src/utils/uuid/index.d.ts
|
|
12
|
-
declare const MAX = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
13
|
-
declare const NIL = "00000000-0000-0000-0000-000000000000";
|
|
14
|
-
declare const parse: typeof parse$1;
|
|
15
|
-
declare const stringify: typeof stringify$1;
|
|
16
|
-
declare const v1: typeof v1$1;
|
|
17
|
-
declare const v4: typeof v4$1;
|
|
18
|
-
declare const v5: typeof v5$1;
|
|
19
|
-
declare const v6: typeof v6$1;
|
|
20
|
-
declare const v7: typeof v7$1;
|
|
21
|
-
declare const validate: typeof validate$1;
|
|
22
|
-
declare const version: typeof version$1;
|
|
12
|
+
export declare const MAX = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
13
|
+
export declare const NIL = "00000000-0000-0000-0000-000000000000";
|
|
14
|
+
export declare const parse: typeof parse$1;
|
|
15
|
+
export declare const stringify: typeof stringify$1;
|
|
16
|
+
export declare const v1: typeof v1$1;
|
|
17
|
+
export declare const v4: typeof v4$1;
|
|
18
|
+
export declare const v5: typeof v5$1;
|
|
19
|
+
export declare const v6: typeof v6$1;
|
|
20
|
+
export declare const v7: typeof v7$1;
|
|
21
|
+
export declare const validate: typeof validate$1;
|
|
22
|
+
export declare const version: typeof version$1;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export type { NonSharedArrayBuffer, UUIDTypes, Version1Options, Version4Options, Version6Options, Version7Options };
|
|
25
25
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/utils/uuid/index.ts"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":["_parse","_stringify","_v1","_v4","_v5","_v6","_v7","_validate","_version"],"sources":["../../../src/utils/uuid/index.ts"],"mappings":";;;;;;;;;;;qBAca;qBACA;qBACA,cAAKA;qBACL,kBAASC;qBACT,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,iBAAQC;qBACR,gBAAOC"}
|
|
@@ -9,17 +9,17 @@ import v7$1 from "./v7.js";
|
|
|
9
9
|
import validate$1 from "./validate.js";
|
|
10
10
|
import version$1 from "./version.js";
|
|
11
11
|
//#region src/utils/uuid/index.d.ts
|
|
12
|
-
declare const MAX = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
13
|
-
declare const NIL = "00000000-0000-0000-0000-000000000000";
|
|
14
|
-
declare const parse: typeof parse$1;
|
|
15
|
-
declare const stringify: typeof stringify$1;
|
|
16
|
-
declare const v1: typeof v1$1;
|
|
17
|
-
declare const v4: typeof v4$1;
|
|
18
|
-
declare const v5: typeof v5$1;
|
|
19
|
-
declare const v6: typeof v6$1;
|
|
20
|
-
declare const v7: typeof v7$1;
|
|
21
|
-
declare const validate: typeof validate$1;
|
|
22
|
-
declare const version: typeof version$1;
|
|
12
|
+
export declare const MAX = "ffffffff-ffff-ffff-ffff-ffffffffffff";
|
|
13
|
+
export declare const NIL = "00000000-0000-0000-0000-000000000000";
|
|
14
|
+
export declare const parse: typeof parse$1;
|
|
15
|
+
export declare const stringify: typeof stringify$1;
|
|
16
|
+
export declare const v1: typeof v1$1;
|
|
17
|
+
export declare const v4: typeof v4$1;
|
|
18
|
+
export declare const v5: typeof v5$1;
|
|
19
|
+
export declare const v6: typeof v6$1;
|
|
20
|
+
export declare const v7: typeof v7$1;
|
|
21
|
+
export declare const validate: typeof validate$1;
|
|
22
|
+
export declare const version: typeof version$1;
|
|
23
23
|
//#endregion
|
|
24
|
-
export {
|
|
24
|
+
export type { NonSharedArrayBuffer, UUIDTypes, Version1Options, Version4Options, Version6Options, Version7Options };
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/utils/uuid/index.ts"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["_parse","_stringify","_v1","_v4","_v5","_v6","_v7","_validate","_version"],"sources":["../../../src/utils/uuid/index.ts"],"mappings":";;;;;;;;;;;qBAca;qBACA;qBACA,cAAKA;qBACL,kBAASC;qBACT,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,WAAEC;qBACF,iBAAQC;qBACR,gBAAOC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/utils/uuid/types.d.ts
|
|
2
|
-
type UUIDTypes<TBuf extends Uint8Array = Uint8Array> = string | TBuf;
|
|
3
|
-
type Version1Options = {
|
|
2
|
+
export type UUIDTypes<TBuf extends Uint8Array = Uint8Array> = string | TBuf;
|
|
3
|
+
export type Version1Options = {
|
|
4
4
|
node?: Uint8Array;
|
|
5
5
|
clockseq?: number;
|
|
6
6
|
random?: Uint8Array;
|
|
@@ -9,18 +9,17 @@ type Version1Options = {
|
|
|
9
9
|
nsecs?: number;
|
|
10
10
|
_v6?: boolean;
|
|
11
11
|
};
|
|
12
|
-
type Version4Options = {
|
|
12
|
+
export type Version4Options = {
|
|
13
13
|
random?: Uint8Array;
|
|
14
14
|
rng?: () => Uint8Array;
|
|
15
15
|
};
|
|
16
|
-
type Version6Options = Version1Options;
|
|
17
|
-
type Version7Options = {
|
|
16
|
+
export type Version6Options = Version1Options;
|
|
17
|
+
export type Version7Options = {
|
|
18
18
|
random?: Uint8Array;
|
|
19
19
|
msecs?: number;
|
|
20
20
|
seq?: number;
|
|
21
21
|
rng?: () => Uint8Array;
|
|
22
22
|
};
|
|
23
|
-
type NonSharedArrayBuffer = ReturnType<typeof Uint8Array.of>;
|
|
23
|
+
export type NonSharedArrayBuffer = ReturnType<typeof Uint8Array.of>;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { NonSharedArrayBuffer, UUIDTypes, Version1Options, Version4Options, Version6Options, Version7Options };
|
|
26
25
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/utils/uuid/types.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/utils/uuid/types.ts"],"mappings":";YAAY,UAAU,aAAa,aAAa,uBAAuB;YAE3D;EACV,OAAO;EACP;EACA,SAAS;EACT,YAAY;EACZ;EACA;EACA;;YAGU;EACV,SAAS;EACT,YAAY;;YAGF,kBAAkB;YAElB;EACV,SAAS;EACT;EACA;EACA,YAAY;;YAIF,uBAAuB,kBAAkB,WAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/utils/uuid/types.d.ts
|
|
2
|
-
type UUIDTypes<TBuf extends Uint8Array = Uint8Array> = string | TBuf;
|
|
3
|
-
type Version1Options = {
|
|
2
|
+
export type UUIDTypes<TBuf extends Uint8Array = Uint8Array> = string | TBuf;
|
|
3
|
+
export type Version1Options = {
|
|
4
4
|
node?: Uint8Array;
|
|
5
5
|
clockseq?: number;
|
|
6
6
|
random?: Uint8Array;
|
|
@@ -9,18 +9,17 @@ type Version1Options = {
|
|
|
9
9
|
nsecs?: number;
|
|
10
10
|
_v6?: boolean;
|
|
11
11
|
};
|
|
12
|
-
type Version4Options = {
|
|
12
|
+
export type Version4Options = {
|
|
13
13
|
random?: Uint8Array;
|
|
14
14
|
rng?: () => Uint8Array;
|
|
15
15
|
};
|
|
16
|
-
type Version6Options = Version1Options;
|
|
17
|
-
type Version7Options = {
|
|
16
|
+
export type Version6Options = Version1Options;
|
|
17
|
+
export type Version7Options = {
|
|
18
18
|
random?: Uint8Array;
|
|
19
19
|
msecs?: number;
|
|
20
20
|
seq?: number;
|
|
21
21
|
rng?: () => Uint8Array;
|
|
22
22
|
};
|
|
23
|
-
type NonSharedArrayBuffer = ReturnType<typeof Uint8Array.of>;
|
|
23
|
+
export type NonSharedArrayBuffer = ReturnType<typeof Uint8Array.of>;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { NonSharedArrayBuffer, UUIDTypes, Version1Options, Version4Options, Version6Options, Version7Options };
|
|
26
25
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/utils/uuid/types.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/utils/uuid/types.ts"],"mappings":";YAAY,UAAU,aAAa,aAAa,uBAAuB;YAE3D;EACV,OAAO;EACP;EACA,SAAS;EACT,YAAY;EACZ;EACA;EACA;;YAGU;EACV,SAAS;EACT,YAAY;;YAGF,kBAAkB;YAElB;EACV,SAAS;EACT;EACA;EACA,YAAY;;YAIF,uBAAuB,kBAAkB,WAAW"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#region src/utils/uuid/v35.d.ts
|
|
2
|
-
declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
3
|
-
declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
2
|
+
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
3
|
+
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
//#endregion
|
|
5
|
-
export { DNS, URL };
|
|
6
5
|
//# sourceMappingURL=v35.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v35.d.cts","names":[],"sources":["../../../src/utils/uuid/v35.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"v35.d.cts","names":[],"sources":["../../../src/utils/uuid/v35.ts"],"mappings":";qBAiBa;qBACA"}
|
package/dist/utils/uuid/v35.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
//#region src/utils/uuid/v35.d.ts
|
|
2
|
-
declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
3
|
-
declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
2
|
+
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
3
|
+
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
//#endregion
|
|
5
|
-
export { DNS, URL };
|
|
6
5
|
//# sourceMappingURL=v35.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v35.d.ts","names":[],"sources":["../../../src/utils/uuid/v35.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"v35.d.ts","names":[],"sources":["../../../src/utils/uuid/v35.ts"],"mappings":";qBAiBa;qBACA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { JsonSchema7TypeUnion } from "./parseTypes.cjs";
|
|
2
2
|
import "./Refs.cjs";
|
|
3
3
|
//#region src/utils/zod-to-json-schema/errorMessages.d.ts
|
|
4
|
-
type ErrorMessages<T extends JsonSchema7TypeUnion | {
|
|
4
|
+
export type ErrorMessages<T extends JsonSchema7TypeUnion | {
|
|
5
5
|
format: string;
|
|
6
6
|
} | {
|
|
7
7
|
pattern: string;
|
|
8
8
|
}, OmitProperties extends string = ""> = Partial<Omit<{ [key in keyof T]: string; }, OmitProperties | "type" | "errorMessages">>;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { ErrorMessages };
|
|
11
10
|
//# sourceMappingURL=errorMessages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.d.cts","names":[],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"errorMessages.d.cts","names":[],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.ts"],"mappings":";;;YAGY,cACV,UAAU;EAAyB;;EAAqB;GACxD,sCACE,QACF,QAAQ,aAAa,eAAc"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { JsonSchema7TypeUnion } from "./parseTypes.js";
|
|
2
2
|
import "./Refs.js";
|
|
3
3
|
//#region src/utils/zod-to-json-schema/errorMessages.d.ts
|
|
4
|
-
type ErrorMessages<T extends JsonSchema7TypeUnion | {
|
|
4
|
+
export type ErrorMessages<T extends JsonSchema7TypeUnion | {
|
|
5
5
|
format: string;
|
|
6
6
|
} | {
|
|
7
7
|
pattern: string;
|
|
8
8
|
}, OmitProperties extends string = ""> = Partial<Omit<{ [key in keyof T]: string; }, OmitProperties | "type" | "errorMessages">>;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { ErrorMessages };
|
|
11
10
|
//# sourceMappingURL=errorMessages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.d.ts","names":[],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"errorMessages.d.ts","names":[],"sources":["../../../src/utils/zod-to-json-schema/errorMessages.ts"],"mappings":";;;YAGY,cACV,UAAU;EAAyB;;EAAqB;GACxD,sCACE,QACF,QAAQ,aAAa,eAAc"}
|
|
@@ -30,8 +30,7 @@ type JsonSchema7Meta = {
|
|
|
30
30
|
description?: string;
|
|
31
31
|
markdownDescription?: string;
|
|
32
32
|
};
|
|
33
|
-
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;
|
|
34
|
-
type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;
|
|
33
|
+
export 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;
|
|
34
|
+
export type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;
|
|
35
35
|
//#endregion
|
|
36
|
-
export { JsonSchema7Type, JsonSchema7TypeUnion };
|
|
37
36
|
//# sourceMappingURL=parseTypes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseTypes.d.cts","names":[],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KAuBK;EAAuB;;KACvB;EACH;EACA;EACA;EACA;;
|
|
1
|
+
{"version":3,"file":"parseTypes.d.cts","names":[],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KAuBK;EAAuB;;KACvB;EACH;EACA;EACA;EACA;;YAGU,uBACR,wBACA,uBACA,wBACA,wBACA,yBACA,sBACA,sBACA,yBACA,4BACA,sBACA,wBACA,wBACA,wBACA,uBACA,uBACA,2BACA,qBACA,uBACA,qBACA,qBACA,0BACA,uBACA,yBACA;YAEQ,kBAAkB,uBAAuB"}
|
|
@@ -30,8 +30,7 @@ type JsonSchema7Meta = {
|
|
|
30
30
|
description?: string;
|
|
31
31
|
markdownDescription?: string;
|
|
32
32
|
};
|
|
33
|
-
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;
|
|
34
|
-
type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;
|
|
33
|
+
export 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;
|
|
34
|
+
export type JsonSchema7Type = JsonSchema7TypeUnion & JsonSchema7Meta;
|
|
35
35
|
//#endregion
|
|
36
|
-
export { JsonSchema7Type, JsonSchema7TypeUnion };
|
|
37
36
|
//# sourceMappingURL=parseTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseTypes.d.ts","names":[],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KAuBK;EAAuB;;KACvB;EACH;EACA;EACA;EACA;;
|
|
1
|
+
{"version":3,"file":"parseTypes.d.ts","names":[],"sources":["../../../src/utils/zod-to-json-schema/parseTypes.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KAuBK;EAAuB;;KACvB;EACH;EACA;EACA;EACA;;YAGU,uBACR,wBACA,uBACA,wBACA,wBACA,yBACA,sBACA,sBACA,yBACA,4BACA,sBACA,wBACA,wBACA,wBACA,uBACA,uBACA,2BACA,qBACA,uBACA,qBACA,qBACA,0BACA,uBACA,yBACA;YAEQ,kBAAkB,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"any.d.cts","names":[],"sources":["../../../../src/utils/zod-to-json-schema/parsers/any.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"any.d.cts","names":[],"sources":["../../../../src/utils/zod-to-json-schema/parsers/any.ts"],"mappings":";;YAGY;EAAuB"}
|