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

14 lines
No EOL
510 B
TypeScript

import { ZodSetDef } from 'zod';
import { ErrorMessages } from "../errorMessages.js";
import { JsonSchema7Type } from "../parseDef.js";
import { Refs } from "../Refs.js";
export type JsonSchema7SetType = {
type: 'array';
uniqueItems: true;
items?: JsonSchema7Type | undefined;
minItems?: number;
maxItems?: number;
errorMessage?: ErrorMessages<JsonSchema7SetType>;
};
export declare function parseSetDef(def: ZodSetDef, refs: Refs): JsonSchema7SetType;
//# sourceMappingURL=set.d.ts.map