UNPKG

@langchain/core

Version:
1 lines 837 B
{"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//# sourceMappingURL=map.d.ts.map"],"mappings":";;;;KAIYI,kBAAAA;;;;;YAKIH,iBAAiBA"}