14 lines
No EOL
510 B
TypeScript
14 lines
No EOL
510 B
TypeScript
import { ZodTupleDef, ZodTupleItems, ZodTypeAny } from 'zod';
|
|
import { JsonSchema7Type } from "../parseDef.js";
|
|
import { Refs } from "../Refs.js";
|
|
export type JsonSchema7TupleType = {
|
|
type: 'array';
|
|
minItems: number;
|
|
items: JsonSchema7Type[];
|
|
} & ({
|
|
maxItems: number;
|
|
} | {
|
|
additionalItems?: JsonSchema7Type | undefined;
|
|
});
|
|
export declare function parseTupleDef(def: ZodTupleDef<ZodTupleItems | [], ZodTypeAny | null>, refs: Refs): JsonSchema7TupleType;
|
|
//# sourceMappingURL=tuple.d.ts.map
|