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