UNPKG

openai

Version:

The official TypeScript library for the OpenAI API

11 lines 439 B
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