agsamantha/node_modules/openai/_vendor/zod-to-json-schema/parsers/object.d.ts
2024-10-02 15:15:21 -05:00

11 lines
No EOL
439 B
TypeScript

import { ZodObjectDef } from 'zod';
import { JsonSchema7Type } from "../parseDef.js";
import { Refs } from "../Refs.js";
export type JsonSchema7ObjectType = {
type: 'object';
properties: Record<string, JsonSchema7Type>;
additionalProperties: boolean | JsonSchema7Type;
required?: string[];
};
export declare function parseObjectDef(def: ZodObjectDef, refs: Refs): JsonSchema7ObjectType;
//# sourceMappingURL=object.d.ts.map