14 lines
No EOL
510 B
TypeScript
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
|