V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user