UNPKG

@langchain/core

Version:
15 lines (14 loc) 584 B
import { JsonSchema7EnumType } from "./enum.js"; import { JsonSchema7StringType } from "./string.js"; import { JsonSchema7Type } from "../parseTypes.js"; import "zod/v3"; //#region src/utils/zod-to-json-schema/parsers/record.d.ts type JsonSchema7RecordPropertyNamesType = Omit<JsonSchema7StringType, "type"> | Omit<JsonSchema7EnumType, "type">; type JsonSchema7RecordType = { type: "object"; additionalProperties?: JsonSchema7Type | true; propertyNames?: JsonSchema7RecordPropertyNamesType; }; //#endregion export { JsonSchema7RecordType }; //# sourceMappingURL=record.d.ts.map