@langchain/core
Version:
Core LangChain.js abstractions and schemas
1 lines • 1.11 kB
Source Map (JSON)
{"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//# sourceMappingURL=date.d.ts.map"],"mappings":";;;;;AAUiCG,KALrBE,mBAAAA,GAKqBF;EAAdD,IAAAA,EAAAA,SAAAA,GAAAA,QAAAA;EAERG,MAAAA,EAAAA,WAAAA,GAAAA,WAAAA,GAAAA,MAAAA;EAAmB,OAAA,CAAA,EAAA,MAAA;;iBAFXH,cAAcC;;SAEtBE"}