Files
SnowLuma/.pnpm-store/v11/files/2b/8f433a6b2f24f5c52864f99adee29c15f8502e4c3be687ab3e6d75fd93d7a2d204a45c58b9c9d2436363d72a5ae6c12acdc3b3c80a2db0f0ae5582376a7800
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

16 lines
497 B
Plaintext

import { ZodMapDef } from "zod/v3";
import { JsonSchema7Type } from "../parseTypes.js";
import { Refs } from "../Refs.js";
import { JsonSchema7RecordType } from "./record.js";
export type JsonSchema7MapType = {
type: "array";
maxItems: 125;
items: {
type: "array";
items: [JsonSchema7Type, JsonSchema7Type];
minItems: 2;
maxItems: 2;
};
};
export declare function parseMapDef(def: ZodMapDef, refs: Refs): JsonSchema7MapType | JsonSchema7RecordType;