@langchain/core
Version:
Core LangChain.js abstractions and schemas
16 lines (15 loc) • 605 B
TypeScript
import { JsonSchema7EnumType } from "./enum.js";
import { JsonSchema7StringType } from "./string.js";
import { JsonSchema7Type } from "../parseTypes.js";
import "../Refs.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