moonflower 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/validators/validateMissingParams.cjs +1 -1
- package/dist/validators/validateMissingParams.cjs.map +1 -1
- package/dist/validators/validateMissingParams.mjs +8 -8
- package/dist/validators/validateParam.cjs +1 -1
- package/dist/validators/validateParam.cjs.map +1 -1
- package/dist/validators/validateParam.mjs +16 -17
- package/dist/validators/validateParam.mjs.map +1 -1
- package/package.json +3 -3
- package/vite.config.ts +1 -0
- package/dist/node_modules/zod/index.cjs +0 -2
- package/dist/node_modules/zod/index.cjs.map +0 -1
- package/dist/node_modules/zod/index.mjs +0 -6
- package/dist/node_modules/zod/index.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/checks.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/checks.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/checks.mjs +0 -34
- package/dist/node_modules/zod/v4/classic/checks.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/coerce.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/coerce.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/coerce.mjs +0 -26
- package/dist/node_modules/zod/v4/classic/coerce.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/compat.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/compat.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/compat.mjs +0 -35
- package/dist/node_modules/zod/v4/classic/compat.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/errors.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/errors.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/errors.mjs +0 -41
- package/dist/node_modules/zod/v4/classic/errors.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/external.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/external.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/external.mjs +0 -260
- package/dist/node_modules/zod/v4/classic/external.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/from-json-schema.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/from-json-schema.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/from-json-schema.mjs +0 -287
- package/dist/node_modules/zod/v4/classic/from-json-schema.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/iso.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/iso.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/iso.mjs +0 -40
- package/dist/node_modules/zod/v4/classic/iso.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/parse.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/parse.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/parse.mjs +0 -19
- package/dist/node_modules/zod/v4/classic/parse.mjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/schemas.cjs +0 -2
- package/dist/node_modules/zod/v4/classic/schemas.cjs.map +0 -1
- package/dist/node_modules/zod/v4/classic/schemas.mjs +0 -912
- package/dist/node_modules/zod/v4/classic/schemas.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/api.cjs +0 -2
- package/dist/node_modules/zod/v4/core/api.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/api.mjs +0 -1110
- package/dist/node_modules/zod/v4/core/api.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/checks.cjs +0 -2
- package/dist/node_modules/zod/v4/core/checks.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/checks.mjs +0 -421
- package/dist/node_modules/zod/v4/core/checks.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/core.cjs +0 -2
- package/dist/node_modules/zod/v4/core/core.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/core.mjs +0 -62
- package/dist/node_modules/zod/v4/core/core.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/doc.cjs +0 -4
- package/dist/node_modules/zod/v4/core/doc.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/doc.mjs +0 -27
- package/dist/node_modules/zod/v4/core/doc.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/errors.cjs +0 -3
- package/dist/node_modules/zod/v4/core/errors.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/errors.mjs +0 -89
- package/dist/node_modules/zod/v4/core/errors.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/index.cjs +0 -2
- package/dist/node_modules/zod/v4/core/index.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/index.mjs +0 -293
- package/dist/node_modules/zod/v4/core/index.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema-generator.cjs +0 -2
- package/dist/node_modules/zod/v4/core/json-schema-generator.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema-generator.mjs +0 -66
- package/dist/node_modules/zod/v4/core/json-schema-generator.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.cjs +0 -2
- package/dist/node_modules/zod/v4/core/json-schema-processors.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema-processors.mjs +0 -346
- package/dist/node_modules/zod/v4/core/json-schema-processors.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/dist/node_modules/zod/v4/core/json-schema.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/json-schema.mjs +0 -2
- package/dist/node_modules/zod/v4/core/json-schema.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/parse.cjs +0 -2
- package/dist/node_modules/zod/v4/core/parse.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/parse.mjs +0 -75
- package/dist/node_modules/zod/v4/core/parse.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/regexes.cjs +0 -2
- package/dist/node_modules/zod/v4/core/regexes.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/regexes.mjs +0 -94
- package/dist/node_modules/zod/v4/core/regexes.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/registries.cjs +0 -2
- package/dist/node_modules/zod/v4/core/registries.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/registries.mjs +0 -44
- package/dist/node_modules/zod/v4/core/registries.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/schemas.cjs +0 -36
- package/dist/node_modules/zod/v4/core/schemas.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/schemas.mjs +0 -1319
- package/dist/node_modules/zod/v4/core/schemas.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +0 -4
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/to-json-schema.mjs +0 -244
- package/dist/node_modules/zod/v4/core/to-json-schema.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/util.cjs +0 -2
- package/dist/node_modules/zod/v4/core/util.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/util.mjs +0 -523
- package/dist/node_modules/zod/v4/core/util.mjs.map +0 -1
- package/dist/node_modules/zod/v4/core/versions.cjs +0 -2
- package/dist/node_modules/zod/v4/core/versions.cjs.map +0 -1
- package/dist/node_modules/zod/v4/core/versions.mjs +0 -9
- package/dist/node_modules/zod/v4/core/versions.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ar.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ar.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ar.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/ar.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/az.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/az.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/az.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/az.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/be.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/be.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/be.mjs +0 -129
- package/dist/node_modules/zod/v4/locales/be.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/bg.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/bg.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/bg.mjs +0 -98
- package/dist/node_modules/zod/v4/locales/bg.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ca.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ca.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ca.mjs +0 -88
- package/dist/node_modules/zod/v4/locales/ca.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/cs.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/cs.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/cs.mjs +0 -91
- package/dist/node_modules/zod/v4/locales/cs.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/da.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/da.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/da.mjs +0 -94
- package/dist/node_modules/zod/v4/locales/da.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/de.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/de.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/de.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/de.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/en.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/en.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/en.mjs +0 -91
- package/dist/node_modules/zod/v4/locales/en.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/eo.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/eo.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/eo.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/eo.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/es.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/es.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/es.mjs +0 -111
- package/dist/node_modules/zod/v4/locales/es.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fa.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/fa.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fa.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/fa.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fi.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/fi.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fi.mjs +0 -91
- package/dist/node_modules/zod/v4/locales/fi.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fr-CA.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/fr-CA.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fr.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/fr.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/fr.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/fr.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/he.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/he.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/he.mjs +0 -152
- package/dist/node_modules/zod/v4/locales/he.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/hu.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/hu.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/hu.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/hu.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/hy.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/hy.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/hy.mjs +0 -130
- package/dist/node_modules/zod/v4/locales/hy.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/id.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/id.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/id.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/id.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/index.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/index.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/index.mjs +0 -101
- package/dist/node_modules/zod/v4/locales/index.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/is.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/is.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/is.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/is.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/it.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/it.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/it.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/it.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ja.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ja.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ja.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/ja.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ka.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ka.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ka.mjs +0 -92
- package/dist/node_modules/zod/v4/locales/ka.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/kh.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/kh.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/kh.mjs +0 -8
- package/dist/node_modules/zod/v4/locales/kh.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/km.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/km.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/km.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/km.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ko.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ko.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ko.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/ko.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/lt.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/lt.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/lt.mjs +0 -178
- package/dist/node_modules/zod/v4/locales/lt.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/mk.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/mk.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/mk.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/mk.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ms.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ms.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ms.mjs +0 -88
- package/dist/node_modules/zod/v4/locales/ms.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/nl.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/nl.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/nl.mjs +0 -88
- package/dist/node_modules/zod/v4/locales/nl.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/no.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/no.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/no.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/no.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ota.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ota.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ota.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/ota.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/pl.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/pl.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/pl.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/pl.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ps.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ps.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ps.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/ps.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/pt.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/pt.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/pt.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/pt.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ru.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ru.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ru.mjs +0 -129
- package/dist/node_modules/zod/v4/locales/ru.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/sl.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/sl.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/sl.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/sl.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/sv.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/sv.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/sv.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/sv.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ta.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ta.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ta.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/ta.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/th.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/th.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/th.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/th.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/tr.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/tr.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/tr.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/tr.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ua.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ua.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ua.mjs +0 -8
- package/dist/node_modules/zod/v4/locales/ua.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/uk.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/uk.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/uk.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/uk.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ur.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/ur.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/ur.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/ur.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/uz.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/uz.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/uz.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/uz.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/vi.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/vi.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/vi.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/vi.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/yo.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/yo.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/yo.mjs +0 -89
- package/dist/node_modules/zod/v4/locales/yo.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/zh-CN.mjs +0 -90
- package/dist/node_modules/zod/v4/locales/zh-CN.mjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +0 -2
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs.map +0 -1
- package/dist/node_modules/zod/v4/locales/zh-TW.mjs +0 -87
- package/dist/node_modules/zod/v4/locales/zh-TW.mjs.map +0 -1
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { $ZodAsyncError as a, $ZodEncodeError as n, $brand as _, $constructor as s, NEVER as c, config as $, globalConfig as Z } from "./core.mjs";
|
|
2
|
-
import { _decode as l, _decodeAsync as p, _encode as u, _encodeAsync as f, _parse as h, _parseAsync as C, _safeDecode as g, _safeDecodeAsync as y, _safeEncode as x, _safeEncodeAsync as S, _safeParse as D, _safeParseAsync as k, decode as E, decodeAsync as v, encode as I, encodeAsync as b, parse as N, parseAsync as O, safeDecode as U, safeDecodeAsync as A, safeEncode as L, safeEncodeAsync as T, safeParse as R, safeParseAsync as P } from "./parse.mjs";
|
|
3
|
-
import { $ZodError as B, $ZodRealError as F, flattenError as M, formatError as w, prettifyError as J, toDotPath as j, treeifyError as W } from "./errors.mjs";
|
|
4
|
-
import { $ZodAny as G, $ZodArray as q, $ZodBase64 as X, $ZodBase64URL as K, $ZodBigInt as H, $ZodBigIntFormat as Q, $ZodBoolean as Y, $ZodCIDRv4 as ee, $ZodCIDRv6 as oe, $ZodCUID as re, $ZodCUID2 as de, $ZodCatch as te, $ZodCodec as ie, $ZodCustom as ae, $ZodCustomStringFormat as ne, $ZodDate as _e, $ZodDefault as se, $ZodDiscriminatedUnion as ce, $ZodE164 as $e, $ZodEmail as Ze, $ZodEmoji as me, $ZodEnum as le, $ZodExactOptional as pe, $ZodFile as ue, $ZodFunction as fe, $ZodGUID as he, $ZodIPv4 as Ce, $ZodIPv6 as ge, $ZodISODate as ye, $ZodISODateTime as xe, $ZodISODuration as Se, $ZodISOTime as De, $ZodIntersection as ke, $ZodJWT as Ee, $ZodKSUID as ve, $ZodLazy as Ie, $ZodLiteral as be, $ZodMAC as Ne, $ZodMap as Oe, $ZodNaN as Ue, $ZodNanoID as Ae, $ZodNever as Le, $ZodNonOptional as Te, $ZodNull as Re, $ZodNullable as Pe, $ZodNumber as ze, $ZodNumberFormat as Be, $ZodObject as Fe, $ZodObjectJIT as Me, $ZodOptional as we, $ZodPipe as Je, $ZodPrefault as je, $ZodPromise as We, $ZodReadonly as Ve, $ZodRecord as Ge, $ZodSet as qe, $ZodString as Xe, $ZodStringFormat as Ke, $ZodSuccess as He, $ZodSymbol as Qe, $ZodTemplateLiteral as Ye, $ZodTransform as eo, $ZodTuple as oo, $ZodType as ro, $ZodULID as to, $ZodURL as io, $ZodUUID as ao, $ZodUndefined as no, $ZodUnion as _o, $ZodUnknown as so, $ZodVoid as co, $ZodXID as $o, $ZodXor as Zo, isValidBase64 as mo, isValidBase64URL as lo, isValidJWT as po } from "./schemas.mjs";
|
|
5
|
-
import { $ZodCheck as fo, $ZodCheckBigIntFormat as ho, $ZodCheckEndsWith as Co, $ZodCheckGreaterThan as go, $ZodCheckIncludes as yo, $ZodCheckLengthEquals as xo, $ZodCheckLessThan as So, $ZodCheckLowerCase as Do, $ZodCheckMaxLength as ko, $ZodCheckMaxSize as Eo, $ZodCheckMimeType as vo, $ZodCheckMinLength as Io, $ZodCheckMinSize as bo, $ZodCheckMultipleOf as No, $ZodCheckNumberFormat as Oo, $ZodCheckOverwrite as Uo, $ZodCheckProperty as Ao, $ZodCheckRegex as Lo, $ZodCheckSizeEquals as To, $ZodCheckStartsWith as Ro, $ZodCheckStringFormat as Po, $ZodCheckUpperCase as zo } from "./checks.mjs";
|
|
6
|
-
import { version as Fo } from "./versions.mjs";
|
|
7
|
-
import * as e from "./util.mjs";
|
|
8
|
-
import { clone as wo } from "./util.mjs";
|
|
9
|
-
import * as o from "./regexes.mjs";
|
|
10
|
-
import * as r from "../locales/index.mjs";
|
|
11
|
-
import { $ZodRegistry as jo, $input as Wo, $output as Vo, globalRegistry as Go, registry as qo } from "./registries.mjs";
|
|
12
|
-
import { Doc as Ko } from "./doc.mjs";
|
|
13
|
-
import { TimePrecision as Qo, _any as Yo, _array as er, _base64 as or, _base64url as rr, _bigint as dr, _boolean as tr, _catch as ir, _check as ar, _cidrv4 as nr, _cidrv6 as _r, _coercedBigint as sr, _coercedBoolean as cr, _coercedDate as $r, _coercedNumber as Zr, _coercedString as mr, _cuid as lr, _cuid2 as pr, _custom as ur, _date as fr, _default as hr, _discriminatedUnion as Cr, _e164 as gr, _email as yr, _emoji as xr, _endsWith as Sr, _enum as Dr, _file as kr, _float32 as Er, _float64 as vr, _gt as Ir, _gte as br, _guid as Nr, _includes as Or, _int as Ur, _int32 as Ar, _int64 as Lr, _intersection as Tr, _ipv4 as Rr, _ipv6 as Pr, _isoDate as zr, _isoDateTime as Br, _isoDuration as Fr, _isoTime as Mr, _jwt as wr, _ksuid as Jr, _lazy as jr, _length as Wr, _literal as Vr, _lowercase as Gr, _lt as qr, _lte as Xr, _mac as Kr, _map as Hr, _lte as Qr, _maxLength as Yr, _maxSize as ed, _mime as od, _gte as rd, _minLength as dd, _minSize as td, _multipleOf as id, _nan as ad, _nanoid as nd, _nativeEnum as _d, _negative as sd, _never as cd, _nonnegative as $d, _nonoptional as Zd, _nonpositive as md, _normalize as ld, _null as pd, _nullable as ud, _number as fd, _optional as hd, _overwrite as Cd, _pipe as gd, _positive as yd, _promise as xd, _property as Sd, _readonly as Dd, _record as kd, _refine as Ed, _regex as vd, _set as Id, _size as bd, _slugify as Nd, _startsWith as Od, _string as Ud, _stringFormat as Ad, _stringbool as Ld, _success as Td, _superRefine as Rd, _symbol as Pd, _templateLiteral as zd, _toLowerCase as Bd, _toUpperCase as Fd, _transform as Md, _trim as wd, _tuple as Jd, _uint32 as jd, _uint64 as Wd, _ulid as Vd, _undefined as Gd, _union as qd, _unknown as Xd, _uppercase as Kd, _url as Hd, _uuid as Qd, _uuidv4 as Yd, _uuidv6 as et, _uuidv7 as ot, _void as rt, _xid as dt, _xor as tt, describe as it, meta as at } from "./api.mjs";
|
|
14
|
-
import { createStandardJSONSchemaMethod as _t, createToJSONSchemaMethod as st, extractDefs as ct, finalize as $t, initializeContext as Zt, process as mt } from "./to-json-schema.mjs";
|
|
15
|
-
import { toJSONSchema as pt } from "./json-schema-processors.mjs";
|
|
16
|
-
import { JSONSchemaGenerator as ft } from "./json-schema-generator.mjs";
|
|
17
|
-
import * as d from "./json-schema.mjs";
|
|
18
|
-
export {
|
|
19
|
-
G as $ZodAny,
|
|
20
|
-
q as $ZodArray,
|
|
21
|
-
a as $ZodAsyncError,
|
|
22
|
-
X as $ZodBase64,
|
|
23
|
-
K as $ZodBase64URL,
|
|
24
|
-
H as $ZodBigInt,
|
|
25
|
-
Q as $ZodBigIntFormat,
|
|
26
|
-
Y as $ZodBoolean,
|
|
27
|
-
ee as $ZodCIDRv4,
|
|
28
|
-
oe as $ZodCIDRv6,
|
|
29
|
-
re as $ZodCUID,
|
|
30
|
-
de as $ZodCUID2,
|
|
31
|
-
te as $ZodCatch,
|
|
32
|
-
fo as $ZodCheck,
|
|
33
|
-
ho as $ZodCheckBigIntFormat,
|
|
34
|
-
Co as $ZodCheckEndsWith,
|
|
35
|
-
go as $ZodCheckGreaterThan,
|
|
36
|
-
yo as $ZodCheckIncludes,
|
|
37
|
-
xo as $ZodCheckLengthEquals,
|
|
38
|
-
So as $ZodCheckLessThan,
|
|
39
|
-
Do as $ZodCheckLowerCase,
|
|
40
|
-
ko as $ZodCheckMaxLength,
|
|
41
|
-
Eo as $ZodCheckMaxSize,
|
|
42
|
-
vo as $ZodCheckMimeType,
|
|
43
|
-
Io as $ZodCheckMinLength,
|
|
44
|
-
bo as $ZodCheckMinSize,
|
|
45
|
-
No as $ZodCheckMultipleOf,
|
|
46
|
-
Oo as $ZodCheckNumberFormat,
|
|
47
|
-
Uo as $ZodCheckOverwrite,
|
|
48
|
-
Ao as $ZodCheckProperty,
|
|
49
|
-
Lo as $ZodCheckRegex,
|
|
50
|
-
To as $ZodCheckSizeEquals,
|
|
51
|
-
Ro as $ZodCheckStartsWith,
|
|
52
|
-
Po as $ZodCheckStringFormat,
|
|
53
|
-
zo as $ZodCheckUpperCase,
|
|
54
|
-
ie as $ZodCodec,
|
|
55
|
-
ae as $ZodCustom,
|
|
56
|
-
ne as $ZodCustomStringFormat,
|
|
57
|
-
_e as $ZodDate,
|
|
58
|
-
se as $ZodDefault,
|
|
59
|
-
ce as $ZodDiscriminatedUnion,
|
|
60
|
-
$e as $ZodE164,
|
|
61
|
-
Ze as $ZodEmail,
|
|
62
|
-
me as $ZodEmoji,
|
|
63
|
-
n as $ZodEncodeError,
|
|
64
|
-
le as $ZodEnum,
|
|
65
|
-
B as $ZodError,
|
|
66
|
-
pe as $ZodExactOptional,
|
|
67
|
-
ue as $ZodFile,
|
|
68
|
-
fe as $ZodFunction,
|
|
69
|
-
he as $ZodGUID,
|
|
70
|
-
Ce as $ZodIPv4,
|
|
71
|
-
ge as $ZodIPv6,
|
|
72
|
-
ye as $ZodISODate,
|
|
73
|
-
xe as $ZodISODateTime,
|
|
74
|
-
Se as $ZodISODuration,
|
|
75
|
-
De as $ZodISOTime,
|
|
76
|
-
ke as $ZodIntersection,
|
|
77
|
-
Ee as $ZodJWT,
|
|
78
|
-
ve as $ZodKSUID,
|
|
79
|
-
Ie as $ZodLazy,
|
|
80
|
-
be as $ZodLiteral,
|
|
81
|
-
Ne as $ZodMAC,
|
|
82
|
-
Oe as $ZodMap,
|
|
83
|
-
Ue as $ZodNaN,
|
|
84
|
-
Ae as $ZodNanoID,
|
|
85
|
-
Le as $ZodNever,
|
|
86
|
-
Te as $ZodNonOptional,
|
|
87
|
-
Re as $ZodNull,
|
|
88
|
-
Pe as $ZodNullable,
|
|
89
|
-
ze as $ZodNumber,
|
|
90
|
-
Be as $ZodNumberFormat,
|
|
91
|
-
Fe as $ZodObject,
|
|
92
|
-
Me as $ZodObjectJIT,
|
|
93
|
-
we as $ZodOptional,
|
|
94
|
-
Je as $ZodPipe,
|
|
95
|
-
je as $ZodPrefault,
|
|
96
|
-
We as $ZodPromise,
|
|
97
|
-
Ve as $ZodReadonly,
|
|
98
|
-
F as $ZodRealError,
|
|
99
|
-
Ge as $ZodRecord,
|
|
100
|
-
jo as $ZodRegistry,
|
|
101
|
-
qe as $ZodSet,
|
|
102
|
-
Xe as $ZodString,
|
|
103
|
-
Ke as $ZodStringFormat,
|
|
104
|
-
He as $ZodSuccess,
|
|
105
|
-
Qe as $ZodSymbol,
|
|
106
|
-
Ye as $ZodTemplateLiteral,
|
|
107
|
-
eo as $ZodTransform,
|
|
108
|
-
oo as $ZodTuple,
|
|
109
|
-
ro as $ZodType,
|
|
110
|
-
to as $ZodULID,
|
|
111
|
-
io as $ZodURL,
|
|
112
|
-
ao as $ZodUUID,
|
|
113
|
-
no as $ZodUndefined,
|
|
114
|
-
_o as $ZodUnion,
|
|
115
|
-
so as $ZodUnknown,
|
|
116
|
-
co as $ZodVoid,
|
|
117
|
-
$o as $ZodXID,
|
|
118
|
-
Zo as $ZodXor,
|
|
119
|
-
_ as $brand,
|
|
120
|
-
s as $constructor,
|
|
121
|
-
Wo as $input,
|
|
122
|
-
Vo as $output,
|
|
123
|
-
Ko as Doc,
|
|
124
|
-
d as JSONSchema,
|
|
125
|
-
ft as JSONSchemaGenerator,
|
|
126
|
-
c as NEVER,
|
|
127
|
-
Qo as TimePrecision,
|
|
128
|
-
Yo as _any,
|
|
129
|
-
er as _array,
|
|
130
|
-
or as _base64,
|
|
131
|
-
rr as _base64url,
|
|
132
|
-
dr as _bigint,
|
|
133
|
-
tr as _boolean,
|
|
134
|
-
ir as _catch,
|
|
135
|
-
ar as _check,
|
|
136
|
-
nr as _cidrv4,
|
|
137
|
-
_r as _cidrv6,
|
|
138
|
-
sr as _coercedBigint,
|
|
139
|
-
cr as _coercedBoolean,
|
|
140
|
-
$r as _coercedDate,
|
|
141
|
-
Zr as _coercedNumber,
|
|
142
|
-
mr as _coercedString,
|
|
143
|
-
lr as _cuid,
|
|
144
|
-
pr as _cuid2,
|
|
145
|
-
ur as _custom,
|
|
146
|
-
fr as _date,
|
|
147
|
-
l as _decode,
|
|
148
|
-
p as _decodeAsync,
|
|
149
|
-
hr as _default,
|
|
150
|
-
Cr as _discriminatedUnion,
|
|
151
|
-
gr as _e164,
|
|
152
|
-
yr as _email,
|
|
153
|
-
xr as _emoji,
|
|
154
|
-
u as _encode,
|
|
155
|
-
f as _encodeAsync,
|
|
156
|
-
Sr as _endsWith,
|
|
157
|
-
Dr as _enum,
|
|
158
|
-
kr as _file,
|
|
159
|
-
Er as _float32,
|
|
160
|
-
vr as _float64,
|
|
161
|
-
Ir as _gt,
|
|
162
|
-
br as _gte,
|
|
163
|
-
Nr as _guid,
|
|
164
|
-
Or as _includes,
|
|
165
|
-
Ur as _int,
|
|
166
|
-
Ar as _int32,
|
|
167
|
-
Lr as _int64,
|
|
168
|
-
Tr as _intersection,
|
|
169
|
-
Rr as _ipv4,
|
|
170
|
-
Pr as _ipv6,
|
|
171
|
-
zr as _isoDate,
|
|
172
|
-
Br as _isoDateTime,
|
|
173
|
-
Fr as _isoDuration,
|
|
174
|
-
Mr as _isoTime,
|
|
175
|
-
wr as _jwt,
|
|
176
|
-
Jr as _ksuid,
|
|
177
|
-
jr as _lazy,
|
|
178
|
-
Wr as _length,
|
|
179
|
-
Vr as _literal,
|
|
180
|
-
Gr as _lowercase,
|
|
181
|
-
qr as _lt,
|
|
182
|
-
Xr as _lte,
|
|
183
|
-
Kr as _mac,
|
|
184
|
-
Hr as _map,
|
|
185
|
-
Qr as _max,
|
|
186
|
-
Yr as _maxLength,
|
|
187
|
-
ed as _maxSize,
|
|
188
|
-
od as _mime,
|
|
189
|
-
rd as _min,
|
|
190
|
-
dd as _minLength,
|
|
191
|
-
td as _minSize,
|
|
192
|
-
id as _multipleOf,
|
|
193
|
-
ad as _nan,
|
|
194
|
-
nd as _nanoid,
|
|
195
|
-
_d as _nativeEnum,
|
|
196
|
-
sd as _negative,
|
|
197
|
-
cd as _never,
|
|
198
|
-
$d as _nonnegative,
|
|
199
|
-
Zd as _nonoptional,
|
|
200
|
-
md as _nonpositive,
|
|
201
|
-
ld as _normalize,
|
|
202
|
-
pd as _null,
|
|
203
|
-
ud as _nullable,
|
|
204
|
-
fd as _number,
|
|
205
|
-
hd as _optional,
|
|
206
|
-
Cd as _overwrite,
|
|
207
|
-
h as _parse,
|
|
208
|
-
C as _parseAsync,
|
|
209
|
-
gd as _pipe,
|
|
210
|
-
yd as _positive,
|
|
211
|
-
xd as _promise,
|
|
212
|
-
Sd as _property,
|
|
213
|
-
Dd as _readonly,
|
|
214
|
-
kd as _record,
|
|
215
|
-
Ed as _refine,
|
|
216
|
-
vd as _regex,
|
|
217
|
-
g as _safeDecode,
|
|
218
|
-
y as _safeDecodeAsync,
|
|
219
|
-
x as _safeEncode,
|
|
220
|
-
S as _safeEncodeAsync,
|
|
221
|
-
D as _safeParse,
|
|
222
|
-
k as _safeParseAsync,
|
|
223
|
-
Id as _set,
|
|
224
|
-
bd as _size,
|
|
225
|
-
Nd as _slugify,
|
|
226
|
-
Od as _startsWith,
|
|
227
|
-
Ud as _string,
|
|
228
|
-
Ad as _stringFormat,
|
|
229
|
-
Ld as _stringbool,
|
|
230
|
-
Td as _success,
|
|
231
|
-
Rd as _superRefine,
|
|
232
|
-
Pd as _symbol,
|
|
233
|
-
zd as _templateLiteral,
|
|
234
|
-
Bd as _toLowerCase,
|
|
235
|
-
Fd as _toUpperCase,
|
|
236
|
-
Md as _transform,
|
|
237
|
-
wd as _trim,
|
|
238
|
-
Jd as _tuple,
|
|
239
|
-
jd as _uint32,
|
|
240
|
-
Wd as _uint64,
|
|
241
|
-
Vd as _ulid,
|
|
242
|
-
Gd as _undefined,
|
|
243
|
-
qd as _union,
|
|
244
|
-
Xd as _unknown,
|
|
245
|
-
Kd as _uppercase,
|
|
246
|
-
Hd as _url,
|
|
247
|
-
Qd as _uuid,
|
|
248
|
-
Yd as _uuidv4,
|
|
249
|
-
et as _uuidv6,
|
|
250
|
-
ot as _uuidv7,
|
|
251
|
-
rt as _void,
|
|
252
|
-
dt as _xid,
|
|
253
|
-
tt as _xor,
|
|
254
|
-
wo as clone,
|
|
255
|
-
$ as config,
|
|
256
|
-
_t as createStandardJSONSchemaMethod,
|
|
257
|
-
st as createToJSONSchemaMethod,
|
|
258
|
-
E as decode,
|
|
259
|
-
v as decodeAsync,
|
|
260
|
-
it as describe,
|
|
261
|
-
I as encode,
|
|
262
|
-
b as encodeAsync,
|
|
263
|
-
ct as extractDefs,
|
|
264
|
-
$t as finalize,
|
|
265
|
-
M as flattenError,
|
|
266
|
-
w as formatError,
|
|
267
|
-
Z as globalConfig,
|
|
268
|
-
Go as globalRegistry,
|
|
269
|
-
Zt as initializeContext,
|
|
270
|
-
mo as isValidBase64,
|
|
271
|
-
lo as isValidBase64URL,
|
|
272
|
-
po as isValidJWT,
|
|
273
|
-
r as locales,
|
|
274
|
-
at as meta,
|
|
275
|
-
N as parse,
|
|
276
|
-
O as parseAsync,
|
|
277
|
-
J as prettifyError,
|
|
278
|
-
mt as process,
|
|
279
|
-
o as regexes,
|
|
280
|
-
qo as registry,
|
|
281
|
-
U as safeDecode,
|
|
282
|
-
A as safeDecodeAsync,
|
|
283
|
-
L as safeEncode,
|
|
284
|
-
T as safeEncodeAsync,
|
|
285
|
-
R as safeParse,
|
|
286
|
-
P as safeParseAsync,
|
|
287
|
-
j as toDotPath,
|
|
288
|
-
pt as toJSONSchema,
|
|
289
|
-
W as treeifyError,
|
|
290
|
-
e as util,
|
|
291
|
-
Fo as version
|
|
292
|
-
};
|
|
293
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./json-schema-processors.cjs"),r=require("./to-json-schema.cjs");class c{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??"draft-2020-12";t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),this.ctx=r.initializeContext({processors:s.allProcessors,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return r.process(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),r.extractDefs(this.ctx,e);const i=r.finalize(this.ctx,e),{"~standard":u,...n}=i;return n}}exports.JSONSchemaGenerator=c;
|
|
2
|
-
//# sourceMappingURL=json-schema-generator.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema-generator.cjs","sources":["../../../../../node_modules/zod/v4/core/json-schema-generator.js"],"sourcesContent":["import { allProcessors } from \"./json-schema-processors.js\";\nimport { extractDefs, finalize, initializeContext, process, } from \"./to-json-schema.js\";\n/**\n * Legacy class-based interface for JSON Schema generation.\n * This class wraps the new functional implementation to provide backward compatibility.\n *\n * @deprecated Use the `toJSONSchema` function instead for new code.\n *\n * @example\n * ```typescript\n * // Legacy usage (still supported)\n * const gen = new JSONSchemaGenerator({ target: \"draft-07\" });\n * gen.process(schema);\n * const result = gen.emit(schema);\n *\n * // Preferred modern usage\n * const result = toJSONSchema(schema, { target: \"draft-07\" });\n * ```\n */\nexport class JSONSchemaGenerator {\n /** @deprecated Access via ctx instead */\n get metadataRegistry() {\n return this.ctx.metadataRegistry;\n }\n /** @deprecated Access via ctx instead */\n get target() {\n return this.ctx.target;\n }\n /** @deprecated Access via ctx instead */\n get unrepresentable() {\n return this.ctx.unrepresentable;\n }\n /** @deprecated Access via ctx instead */\n get override() {\n return this.ctx.override;\n }\n /** @deprecated Access via ctx instead */\n get io() {\n return this.ctx.io;\n }\n /** @deprecated Access via ctx instead */\n get counter() {\n return this.ctx.counter;\n }\n set counter(value) {\n this.ctx.counter = value;\n }\n /** @deprecated Access via ctx instead */\n get seen() {\n return this.ctx.seen;\n }\n constructor(params) {\n // Normalize target for internal context\n let normalizedTarget = params?.target ?? \"draft-2020-12\";\n if (normalizedTarget === \"draft-4\")\n normalizedTarget = \"draft-04\";\n if (normalizedTarget === \"draft-7\")\n normalizedTarget = \"draft-07\";\n this.ctx = initializeContext({\n processors: allProcessors,\n target: normalizedTarget,\n ...(params?.metadata && { metadata: params.metadata }),\n ...(params?.unrepresentable && { unrepresentable: params.unrepresentable }),\n ...(params?.override && { override: params.override }),\n ...(params?.io && { io: params.io }),\n });\n }\n /**\n * Process a schema to prepare it for JSON Schema generation.\n * This must be called before emit().\n */\n process(schema, _params = { path: [], schemaPath: [] }) {\n return process(schema, this.ctx, _params);\n }\n /**\n * Emit the final JSON Schema after processing.\n * Must call process() first.\n */\n emit(schema, _params) {\n // Apply emit params to the context\n if (_params) {\n if (_params.cycles)\n this.ctx.cycles = _params.cycles;\n if (_params.reused)\n this.ctx.reused = _params.reused;\n if (_params.external)\n this.ctx.external = _params.external;\n }\n extractDefs(this.ctx, schema);\n const result = finalize(this.ctx, schema);\n // Strip ~standard property to match old implementation's return type\n const { \"~standard\": _, ...plainResult } = result;\n return plainResult;\n }\n}\n"],"names":["JSONSchemaGenerator","value","params","normalizedTarget","initializeContext","allProcessors","schema","_params","process","extractDefs","result","finalize","_","plainResult"],"mappings":"kKAmBO,MAAMA,CAAoB,CAE7B,IAAI,kBAAmB,CACnB,OAAO,KAAK,IAAI,gBACxB,CAEI,IAAI,QAAS,CACT,OAAO,KAAK,IAAI,MACxB,CAEI,IAAI,iBAAkB,CAClB,OAAO,KAAK,IAAI,eACxB,CAEI,IAAI,UAAW,CACX,OAAO,KAAK,IAAI,QACxB,CAEI,IAAI,IAAK,CACL,OAAO,KAAK,IAAI,EACxB,CAEI,IAAI,SAAU,CACV,OAAO,KAAK,IAAI,OACxB,CACI,IAAI,QAAQC,EAAO,CACf,KAAK,IAAI,QAAUA,CAC3B,CAEI,IAAI,MAAO,CACP,OAAO,KAAK,IAAI,IACxB,CACI,YAAYC,EAAQ,CAEhB,IAAIC,EAAmBD,GAAQ,QAAU,gBACrCC,IAAqB,YACrBA,EAAmB,YACnBA,IAAqB,YACrBA,EAAmB,YACvB,KAAK,IAAMC,oBAAkB,CACzB,WAAYC,EAAa,cACzB,OAAQF,EACR,GAAID,GAAQ,UAAY,CAAE,SAAUA,EAAO,QAAQ,EACnD,GAAIA,GAAQ,iBAAmB,CAAE,gBAAiBA,EAAO,eAAe,EACxE,GAAIA,GAAQ,UAAY,CAAE,SAAUA,EAAO,QAAQ,EACnD,GAAIA,GAAQ,IAAM,CAAE,GAAIA,EAAO,EAAE,CAC7C,CAAS,CACT,CAKI,QAAQI,EAAQC,EAAU,CAAE,KAAM,GAAI,WAAY,CAAA,GAAM,CACpD,OAAOC,EAAO,QAACF,EAAQ,KAAK,IAAKC,CAAO,CAChD,CAKI,KAAKD,EAAQC,EAAS,CAEdA,IACIA,EAAQ,SACR,KAAK,IAAI,OAASA,EAAQ,QAC1BA,EAAQ,SACR,KAAK,IAAI,OAASA,EAAQ,QAC1BA,EAAQ,WACR,KAAK,IAAI,SAAWA,EAAQ,WAEpCE,cAAY,KAAK,IAAKH,CAAM,EAC5B,MAAMI,EAASC,EAAQ,SAAC,KAAK,IAAKL,CAAM,EAElC,CAAE,YAAaM,EAAG,GAAGC,CAAa,EAAGH,EAC3C,OAAOG,CACf,CACA","x_google_ignoreList":[0]}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { allProcessors as n } from "./json-schema-processors.mjs";
|
|
2
|
-
import { initializeContext as c, process as s, extractDefs as o, finalize as u } from "./to-json-schema.mjs";
|
|
3
|
-
class h {
|
|
4
|
-
/** @deprecated Access via ctx instead */
|
|
5
|
-
get metadataRegistry() {
|
|
6
|
-
return this.ctx.metadataRegistry;
|
|
7
|
-
}
|
|
8
|
-
/** @deprecated Access via ctx instead */
|
|
9
|
-
get target() {
|
|
10
|
-
return this.ctx.target;
|
|
11
|
-
}
|
|
12
|
-
/** @deprecated Access via ctx instead */
|
|
13
|
-
get unrepresentable() {
|
|
14
|
-
return this.ctx.unrepresentable;
|
|
15
|
-
}
|
|
16
|
-
/** @deprecated Access via ctx instead */
|
|
17
|
-
get override() {
|
|
18
|
-
return this.ctx.override;
|
|
19
|
-
}
|
|
20
|
-
/** @deprecated Access via ctx instead */
|
|
21
|
-
get io() {
|
|
22
|
-
return this.ctx.io;
|
|
23
|
-
}
|
|
24
|
-
/** @deprecated Access via ctx instead */
|
|
25
|
-
get counter() {
|
|
26
|
-
return this.ctx.counter;
|
|
27
|
-
}
|
|
28
|
-
set counter(t) {
|
|
29
|
-
this.ctx.counter = t;
|
|
30
|
-
}
|
|
31
|
-
/** @deprecated Access via ctx instead */
|
|
32
|
-
get seen() {
|
|
33
|
-
return this.ctx.seen;
|
|
34
|
-
}
|
|
35
|
-
constructor(t) {
|
|
36
|
-
let e = t?.target ?? "draft-2020-12";
|
|
37
|
-
e === "draft-4" && (e = "draft-04"), e === "draft-7" && (e = "draft-07"), this.ctx = c({
|
|
38
|
-
processors: n,
|
|
39
|
-
target: e,
|
|
40
|
-
...t?.metadata && { metadata: t.metadata },
|
|
41
|
-
...t?.unrepresentable && { unrepresentable: t.unrepresentable },
|
|
42
|
-
...t?.override && { override: t.override },
|
|
43
|
-
...t?.io && { io: t.io }
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Process a schema to prepare it for JSON Schema generation.
|
|
48
|
-
* This must be called before emit().
|
|
49
|
-
*/
|
|
50
|
-
process(t, e = { path: [], schemaPath: [] }) {
|
|
51
|
-
return s(t, this.ctx, e);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Emit the final JSON Schema after processing.
|
|
55
|
-
* Must call process() first.
|
|
56
|
-
*/
|
|
57
|
-
emit(t, e) {
|
|
58
|
-
e && (e.cycles && (this.ctx.cycles = e.cycles), e.reused && (this.ctx.reused = e.reused), e.external && (this.ctx.external = e.external)), o(this.ctx, t);
|
|
59
|
-
const r = u(this.ctx, t), { "~standard": l, ...i } = r;
|
|
60
|
-
return i;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
h as JSONSchemaGenerator
|
|
65
|
-
};
|
|
66
|
-
//# sourceMappingURL=json-schema-generator.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema-generator.mjs","sources":["../../../../../node_modules/zod/v4/core/json-schema-generator.js"],"sourcesContent":["import { allProcessors } from \"./json-schema-processors.js\";\nimport { extractDefs, finalize, initializeContext, process, } from \"./to-json-schema.js\";\n/**\n * Legacy class-based interface for JSON Schema generation.\n * This class wraps the new functional implementation to provide backward compatibility.\n *\n * @deprecated Use the `toJSONSchema` function instead for new code.\n *\n * @example\n * ```typescript\n * // Legacy usage (still supported)\n * const gen = new JSONSchemaGenerator({ target: \"draft-07\" });\n * gen.process(schema);\n * const result = gen.emit(schema);\n *\n * // Preferred modern usage\n * const result = toJSONSchema(schema, { target: \"draft-07\" });\n * ```\n */\nexport class JSONSchemaGenerator {\n /** @deprecated Access via ctx instead */\n get metadataRegistry() {\n return this.ctx.metadataRegistry;\n }\n /** @deprecated Access via ctx instead */\n get target() {\n return this.ctx.target;\n }\n /** @deprecated Access via ctx instead */\n get unrepresentable() {\n return this.ctx.unrepresentable;\n }\n /** @deprecated Access via ctx instead */\n get override() {\n return this.ctx.override;\n }\n /** @deprecated Access via ctx instead */\n get io() {\n return this.ctx.io;\n }\n /** @deprecated Access via ctx instead */\n get counter() {\n return this.ctx.counter;\n }\n set counter(value) {\n this.ctx.counter = value;\n }\n /** @deprecated Access via ctx instead */\n get seen() {\n return this.ctx.seen;\n }\n constructor(params) {\n // Normalize target for internal context\n let normalizedTarget = params?.target ?? \"draft-2020-12\";\n if (normalizedTarget === \"draft-4\")\n normalizedTarget = \"draft-04\";\n if (normalizedTarget === \"draft-7\")\n normalizedTarget = \"draft-07\";\n this.ctx = initializeContext({\n processors: allProcessors,\n target: normalizedTarget,\n ...(params?.metadata && { metadata: params.metadata }),\n ...(params?.unrepresentable && { unrepresentable: params.unrepresentable }),\n ...(params?.override && { override: params.override }),\n ...(params?.io && { io: params.io }),\n });\n }\n /**\n * Process a schema to prepare it for JSON Schema generation.\n * This must be called before emit().\n */\n process(schema, _params = { path: [], schemaPath: [] }) {\n return process(schema, this.ctx, _params);\n }\n /**\n * Emit the final JSON Schema after processing.\n * Must call process() first.\n */\n emit(schema, _params) {\n // Apply emit params to the context\n if (_params) {\n if (_params.cycles)\n this.ctx.cycles = _params.cycles;\n if (_params.reused)\n this.ctx.reused = _params.reused;\n if (_params.external)\n this.ctx.external = _params.external;\n }\n extractDefs(this.ctx, schema);\n const result = finalize(this.ctx, schema);\n // Strip ~standard property to match old implementation's return type\n const { \"~standard\": _, ...plainResult } = result;\n return plainResult;\n }\n}\n"],"names":["JSONSchemaGenerator","value","params","normalizedTarget","initializeContext","allProcessors","schema","_params","process","extractDefs","result","finalize","_","plainResult"],"mappings":";;AAmBO,MAAMA,EAAoB;AAAA;AAAA,EAE7B,IAAI,mBAAmB;AACnB,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA;AAAA,EAEI,IAAI,SAAS;AACT,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA;AAAA,EAEI,IAAI,kBAAkB;AAClB,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA;AAAA,EAEI,IAAI,WAAW;AACX,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA;AAAA,EAEI,IAAI,KAAK;AACL,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA;AAAA,EAEI,IAAI,UAAU;AACV,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA,EACI,IAAI,QAAQC,GAAO;AACf,SAAK,IAAI,UAAUA;AAAA,EAC3B;AAAA;AAAA,EAEI,IAAI,OAAO;AACP,WAAO,KAAK,IAAI;AAAA,EACxB;AAAA,EACI,YAAYC,GAAQ;AAEhB,QAAIC,IAAmBD,GAAQ,UAAU;AACzC,IAAIC,MAAqB,cACrBA,IAAmB,aACnBA,MAAqB,cACrBA,IAAmB,aACvB,KAAK,MAAMC,EAAkB;AAAA,MACzB,YAAYC;AAAA,MACZ,QAAQF;AAAA,MACR,GAAID,GAAQ,YAAY,EAAE,UAAUA,EAAO,SAAQ;AAAA,MACnD,GAAIA,GAAQ,mBAAmB,EAAE,iBAAiBA,EAAO,gBAAe;AAAA,MACxE,GAAIA,GAAQ,YAAY,EAAE,UAAUA,EAAO,SAAQ;AAAA,MACnD,GAAIA,GAAQ,MAAM,EAAE,IAAIA,EAAO,GAAE;AAAA,IAC7C,CAAS;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA,EAKI,QAAQI,GAAQC,IAAU,EAAE,MAAM,IAAI,YAAY,CAAA,KAAM;AACpD,WAAOC,EAAQF,GAAQ,KAAK,KAAKC,CAAO;AAAA,EAChD;AAAA;AAAA;AAAA;AAAA;AAAA,EAKI,KAAKD,GAAQC,GAAS;AAElB,IAAIA,MACIA,EAAQ,WACR,KAAK,IAAI,SAASA,EAAQ,SAC1BA,EAAQ,WACR,KAAK,IAAI,SAASA,EAAQ,SAC1BA,EAAQ,aACR,KAAK,IAAI,WAAWA,EAAQ,YAEpCE,EAAY,KAAK,KAAKH,CAAM;AAC5B,UAAMI,IAASC,EAAS,KAAK,KAAKL,CAAM,GAElC,EAAE,aAAaM,GAAG,GAAGC,EAAa,IAAGH;AAC3C,WAAOG;AAAA,EACf;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./to-json-schema.cjs"),re=require("./util.cjs"),oe={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},d=(s,r,t,n)=>{const e=t;e.type="string";const{minimum:o,maximum:i,format:l,patterns:a,contentEncoding:c}=s._zod.bag;if(typeof o=="number"&&(e.minLength=o),typeof i=="number"&&(e.maxLength=i),l&&(e.format=oe[l]??l,e.format===""&&delete e.format,l==="time"&&delete e.format),c&&(e.contentEncoding=c),a&&a.size>0){const f=[...a];f.length===1?e.pattern=f[0].source:f.length>1&&(e.allOf=[...f.map(m=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},y=(s,r,t,n)=>{const e=t,{minimum:o,maximum:i,format:l,multipleOf:a,exclusiveMaximum:c,exclusiveMinimum:f}=s._zod.bag;typeof l=="string"&&l.includes("int")?e.type="integer":e.type="number",typeof f=="number"&&(r.target==="draft-04"||r.target==="openapi-3.0"?(e.minimum=f,e.exclusiveMinimum=!0):e.exclusiveMinimum=f),typeof o=="number"&&(e.minimum=o,typeof f=="number"&&r.target!=="draft-04"&&(f>=o?delete e.minimum:delete e.exclusiveMinimum)),typeof c=="number"&&(r.target==="draft-04"||r.target==="openapi-3.0"?(e.maximum=c,e.exclusiveMaximum=!0):e.exclusiveMaximum=c),typeof i=="number"&&(e.maximum=i,typeof c=="number"&&r.target!=="draft-04"&&(c<=i?delete e.maximum:delete e.exclusiveMaximum)),typeof a=="number"&&(e.multipleOf=a)},h=(s,r,t,n)=>{t.type="boolean"},_=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},g=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},P=(s,r,t,n)=>{r.target==="openapi-3.0"?(t.type="string",t.nullable=!0,t.enum=[null]):t.type="null"},b=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},w=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},O=(s,r,t,n)=>{t.not={}},S=(s,r,t,n)=>{},z=(s,r,t,n)=>{},v=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},T=(s,r,t,n)=>{const e=s._zod.def,o=re.getEnumValues(e.entries);o.every(i=>typeof i=="number")&&(t.type="number"),o.every(i=>typeof i=="string")&&(t.type="string"),t.enum=o},j=(s,r,t,n)=>{const e=s._zod.def,o=[];for(const i of e.values)if(i===void 0){if(r.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof i=="bigint"){if(r.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(i))}else o.push(i);if(o.length!==0)if(o.length===1){const i=o[0];t.type=i===null?"null":typeof i,r.target==="draft-04"||r.target==="openapi-3.0"?t.enum=[i]:t.const=i}else o.every(i=>typeof i=="number")&&(t.type="number"),o.every(i=>typeof i=="string")&&(t.type="string"),o.every(i=>typeof i=="boolean")&&(t.type="boolean"),o.every(i=>i===null)&&(t.type="null"),t.enum=o},N=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},J=(s,r,t,n)=>{const e=t,o=s._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");e.type="string",e.pattern=o.source},E=(s,r,t,n)=>{const e=t,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:l,mime:a}=s._zod.bag;i!==void 0&&(o.minLength=i),l!==void 0&&(o.maxLength=l),a?a.length===1?(o.contentMediaType=a[0],Object.assign(e,o)):(Object.assign(e,o),e.anyOf=a.map(c=>({contentMediaType:c}))):Object.assign(e,o)},k=(s,r,t,n)=>{t.type="boolean"},I=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},M=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},x=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},V=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},L=(s,r,t,n)=>{if(r.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},q=(s,r,t,n)=>{const e=t,o=s._zod.def,{minimum:i,maximum:l}=s._zod.bag;typeof i=="number"&&(e.minItems=i),typeof l=="number"&&(e.maxItems=l),e.type="array",e.items=p.process(o.element,r,{...n,path:[...n.path,"items"]})},B=(s,r,t,n)=>{const e=t,o=s._zod.def;e.type="object",e.properties={};const i=o.shape;for(const c in i)e.properties[c]=p.process(i[c],r,{...n,path:[...n.path,"properties",c]});const l=new Set(Object.keys(i)),a=new Set([...l].filter(c=>{const f=o.shape[c]._zod;return r.io==="input"?f.optin===void 0:f.optout===void 0}));a.size>0&&(e.required=Array.from(a)),o.catchall?._zod.def.type==="never"?e.additionalProperties=!1:o.catchall?o.catchall&&(e.additionalProperties=p.process(o.catchall,r,{...n,path:[...n.path,"additionalProperties"]})):r.io==="output"&&(e.additionalProperties=!1)},D=(s,r,t,n)=>{const e=s._zod.def,o=e.inclusive===!1,i=e.options.map((l,a)=>p.process(l,r,{...n,path:[...n.path,o?"oneOf":"anyOf",a]}));o?t.oneOf=i:t.anyOf=i},C=(s,r,t,n)=>{const e=s._zod.def,o=p.process(e.left,r,{...n,path:[...n.path,"allOf",0]}),i=p.process(e.right,r,{...n,path:[...n.path,"allOf",1]}),l=c=>"allOf"in c&&Object.keys(c).length===1,a=[...l(o)?o.allOf:[o],...l(i)?i.allOf:[i]];t.allOf=a},K=(s,r,t,n)=>{const e=t,o=s._zod.def;e.type="array";const i=r.target==="draft-2020-12"?"prefixItems":"items",l=r.target==="draft-2020-12"||r.target==="openapi-3.0"?"items":"additionalItems",a=o.items.map((Z,ee)=>p.process(Z,r,{...n,path:[...n.path,i,ee]})),c=o.rest?p.process(o.rest,r,{...n,path:[...n.path,l,...r.target==="openapi-3.0"?[o.items.length]:[]]}):null;r.target==="draft-2020-12"?(e.prefixItems=a,c&&(e.items=c)):r.target==="openapi-3.0"?(e.items={anyOf:a},c&&e.items.anyOf.push(c),e.minItems=a.length,c||(e.maxItems=a.length)):(e.items=a,c&&(e.additionalItems=c));const{minimum:f,maximum:m}=s._zod.bag;typeof f=="number"&&(e.minItems=f),typeof m=="number"&&(e.maxItems=m)},A=(s,r,t,n)=>{const e=t,o=s._zod.def;e.type="object";const i=o.keyType,a=i._zod.bag?.patterns;if(o.mode==="loose"&&a&&a.size>0){const f=p.process(o.valueType,r,{...n,path:[...n.path,"patternProperties","*"]});e.patternProperties={};for(const m of a)e.patternProperties[m.source]=f}else(r.target==="draft-07"||r.target==="draft-2020-12")&&(e.propertyNames=p.process(o.keyType,r,{...n,path:[...n.path,"propertyNames"]})),e.additionalProperties=p.process(o.valueType,r,{...n,path:[...n.path,"additionalProperties"]});const c=i._zod.values;if(c){const f=[...c].filter(m=>typeof m=="string"||typeof m=="number");f.length>0&&(e.required=f)}},F=(s,r,t,n)=>{const e=s._zod.def,o=p.process(e.innerType,r,n),i=r.seen.get(s);r.target==="openapi-3.0"?(i.ref=e.innerType,t.nullable=!0):t.anyOf=[o,{type:"null"}]},U=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType},$=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType,t.default=JSON.parse(JSON.stringify(e.defaultValue))},G=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType,r.io==="input"&&(t._prefault=JSON.parse(JSON.stringify(e.defaultValue)))},H=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType;let i;try{i=e.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}t.default=i},Q=(s,r,t,n)=>{const e=s._zod.def,o=r.io==="input"?e.in._zod.def.type==="transform"?e.out:e.in:e.out;p.process(o,r,n);const i=r.seen.get(s);i.ref=o},R=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType,t.readOnly=!0},W=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType},X=(s,r,t,n)=>{const e=s._zod.def;p.process(e.innerType,r,n);const o=r.seen.get(s);o.ref=e.innerType},Y=(s,r,t,n)=>{const e=s._zod.innerType;p.process(e,r,n);const o=r.seen.get(s);o.ref=e},u={string:d,number:y,boolean:h,bigint:_,symbol:g,null:P,undefined:b,void:w,never:O,any:S,unknown:z,date:v,enum:T,literal:j,nan:N,template_literal:J,file:E,success:k,custom:I,function:M,transform:x,map:V,set:L,array:q,object:B,union:D,intersection:C,tuple:K,record:A,nullable:F,nonoptional:U,default:$,prefault:G,catch:H,pipe:Q,readonly:R,promise:W,optional:X,lazy:Y};function se(s,r){if("_idmap"in s){const n=s,e=p.initializeContext({...r,processors:u}),o={};for(const a of n._idmap.entries()){const[c,f]=a;p.process(f,e)}const i={},l={registry:n,uri:r?.uri,defs:o};e.external=l;for(const a of n._idmap.entries()){const[c,f]=a;p.extractDefs(e,f),i[c]=p.finalize(e,f)}if(Object.keys(o).length>0){const a=e.target==="draft-2020-12"?"$defs":"definitions";i.__shared={[a]:o}}return{schemas:i}}const t=p.initializeContext({...r,processors:u});return p.process(s,t),p.extractDefs(t,s),p.finalize(t,s)}exports.allProcessors=u;exports.anyProcessor=S;exports.arrayProcessor=q;exports.bigintProcessor=_;exports.booleanProcessor=h;exports.catchProcessor=H;exports.customProcessor=I;exports.dateProcessor=v;exports.defaultProcessor=$;exports.enumProcessor=T;exports.fileProcessor=E;exports.functionProcessor=M;exports.intersectionProcessor=C;exports.lazyProcessor=Y;exports.literalProcessor=j;exports.mapProcessor=V;exports.nanProcessor=N;exports.neverProcessor=O;exports.nonoptionalProcessor=U;exports.nullProcessor=P;exports.nullableProcessor=F;exports.numberProcessor=y;exports.objectProcessor=B;exports.optionalProcessor=X;exports.pipeProcessor=Q;exports.prefaultProcessor=G;exports.promiseProcessor=W;exports.readonlyProcessor=R;exports.recordProcessor=A;exports.setProcessor=L;exports.stringProcessor=d;exports.successProcessor=k;exports.symbolProcessor=g;exports.templateLiteralProcessor=J;exports.toJSONSchema=se;exports.transformProcessor=x;exports.tupleProcessor=K;exports.undefinedProcessor=b;exports.unionProcessor=D;exports.unknownProcessor=z;exports.voidProcessor=w;
|
|
2
|
-
//# sourceMappingURL=json-schema-processors.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"json-schema-processors.cjs","sources":["../../../../../node_modules/zod/v4/core/json-schema-processors.js"],"sourcesContent":["import { extractDefs, finalize, initializeContext, process, } from \"./to-json-schema.js\";\nimport { getEnumValues } from \"./util.js\";\nconst formatMap = {\n guid: \"uuid\",\n url: \"uri\",\n datetime: \"date-time\",\n json_string: \"json-string\",\n regex: \"\", // do not set\n};\n// ==================== SIMPLE TYPE PROCESSORS ====================\nexport const stringProcessor = (schema, ctx, _json, _params) => {\n const json = _json;\n json.type = \"string\";\n const { minimum, maximum, format, patterns, contentEncoding } = schema._zod\n .bag;\n if (typeof minimum === \"number\")\n json.minLength = minimum;\n if (typeof maximum === \"number\")\n json.maxLength = maximum;\n // custom pattern overrides format\n if (format) {\n json.format = formatMap[format] ?? format;\n if (json.format === \"\")\n delete json.format; // empty format is not valid\n // JSON Schema format: \"time\" requires a full time with offset or Z\n // z.iso.time() does not include timezone information, so format: \"time\" should never be used\n if (format === \"time\") {\n delete json.format;\n }\n }\n if (contentEncoding)\n json.contentEncoding = contentEncoding;\n if (patterns && patterns.size > 0) {\n const regexes = [...patterns];\n if (regexes.length === 1)\n json.pattern = regexes[0].source;\n else if (regexes.length > 1) {\n json.allOf = [\n ...regexes.map((regex) => ({\n ...(ctx.target === \"draft-07\" || ctx.target === \"draft-04\" || ctx.target === \"openapi-3.0\"\n ? { type: \"string\" }\n : {}),\n pattern: regex.source,\n })),\n ];\n }\n }\n};\nexport const numberProcessor = (schema, ctx, _json, _params) => {\n const json = _json;\n const { minimum, maximum, format, multipleOf, exclusiveMaximum, exclusiveMinimum } = schema._zod.bag;\n if (typeof format === \"string\" && format.includes(\"int\"))\n json.type = \"integer\";\n else\n json.type = \"number\";\n if (typeof exclusiveMinimum === \"number\") {\n if (ctx.target === \"draft-04\" || ctx.target === \"openapi-3.0\") {\n json.minimum = exclusiveMinimum;\n json.exclusiveMinimum = true;\n }\n else {\n json.exclusiveMinimum = exclusiveMinimum;\n }\n }\n if (typeof minimum === \"number\") {\n json.minimum = minimum;\n if (typeof exclusiveMinimum === \"number\" && ctx.target !== \"draft-04\") {\n if (exclusiveMinimum >= minimum)\n delete json.minimum;\n else\n delete json.exclusiveMinimum;\n }\n }\n if (typeof exclusiveMaximum === \"number\") {\n if (ctx.target === \"draft-04\" || ctx.target === \"openapi-3.0\") {\n json.maximum = exclusiveMaximum;\n json.exclusiveMaximum = true;\n }\n else {\n json.exclusiveMaximum = exclusiveMaximum;\n }\n }\n if (typeof maximum === \"number\") {\n json.maximum = maximum;\n if (typeof exclusiveMaximum === \"number\" && ctx.target !== \"draft-04\") {\n if (exclusiveMaximum <= maximum)\n delete json.maximum;\n else\n delete json.exclusiveMaximum;\n }\n }\n if (typeof multipleOf === \"number\")\n json.multipleOf = multipleOf;\n};\nexport const booleanProcessor = (_schema, _ctx, json, _params) => {\n json.type = \"boolean\";\n};\nexport const bigintProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"BigInt cannot be represented in JSON Schema\");\n }\n};\nexport const symbolProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Symbols cannot be represented in JSON Schema\");\n }\n};\nexport const nullProcessor = (_schema, ctx, json, _params) => {\n if (ctx.target === \"openapi-3.0\") {\n json.type = \"string\";\n json.nullable = true;\n json.enum = [null];\n }\n else {\n json.type = \"null\";\n }\n};\nexport const undefinedProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Undefined cannot be represented in JSON Schema\");\n }\n};\nexport const voidProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Void cannot be represented in JSON Schema\");\n }\n};\nexport const neverProcessor = (_schema, _ctx, json, _params) => {\n json.not = {};\n};\nexport const anyProcessor = (_schema, _ctx, _json, _params) => {\n // empty schema accepts anything\n};\nexport const unknownProcessor = (_schema, _ctx, _json, _params) => {\n // empty schema accepts anything\n};\nexport const dateProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Date cannot be represented in JSON Schema\");\n }\n};\nexport const enumProcessor = (schema, _ctx, json, _params) => {\n const def = schema._zod.def;\n const values = getEnumValues(def.entries);\n // Number enums can have both string and number values\n if (values.every((v) => typeof v === \"number\"))\n json.type = \"number\";\n if (values.every((v) => typeof v === \"string\"))\n json.type = \"string\";\n json.enum = values;\n};\nexport const literalProcessor = (schema, ctx, json, _params) => {\n const def = schema._zod.def;\n const vals = [];\n for (const val of def.values) {\n if (val === undefined) {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Literal `undefined` cannot be represented in JSON Schema\");\n }\n else {\n // do not add to vals\n }\n }\n else if (typeof val === \"bigint\") {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"BigInt literals cannot be represented in JSON Schema\");\n }\n else {\n vals.push(Number(val));\n }\n }\n else {\n vals.push(val);\n }\n }\n if (vals.length === 0) {\n // do nothing (an undefined literal was stripped)\n }\n else if (vals.length === 1) {\n const val = vals[0];\n json.type = val === null ? \"null\" : typeof val;\n if (ctx.target === \"draft-04\" || ctx.target === \"openapi-3.0\") {\n json.enum = [val];\n }\n else {\n json.const = val;\n }\n }\n else {\n if (vals.every((v) => typeof v === \"number\"))\n json.type = \"number\";\n if (vals.every((v) => typeof v === \"string\"))\n json.type = \"string\";\n if (vals.every((v) => typeof v === \"boolean\"))\n json.type = \"boolean\";\n if (vals.every((v) => v === null))\n json.type = \"null\";\n json.enum = vals;\n }\n};\nexport const nanProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"NaN cannot be represented in JSON Schema\");\n }\n};\nexport const templateLiteralProcessor = (schema, _ctx, json, _params) => {\n const _json = json;\n const pattern = schema._zod.pattern;\n if (!pattern)\n throw new Error(\"Pattern not found in template literal\");\n _json.type = \"string\";\n _json.pattern = pattern.source;\n};\nexport const fileProcessor = (schema, _ctx, json, _params) => {\n const _json = json;\n const file = {\n type: \"string\",\n format: \"binary\",\n contentEncoding: \"binary\",\n };\n const { minimum, maximum, mime } = schema._zod.bag;\n if (minimum !== undefined)\n file.minLength = minimum;\n if (maximum !== undefined)\n file.maxLength = maximum;\n if (mime) {\n if (mime.length === 1) {\n file.contentMediaType = mime[0];\n Object.assign(_json, file);\n }\n else {\n Object.assign(_json, file); // shared props at root\n _json.anyOf = mime.map((m) => ({ contentMediaType: m })); // only contentMediaType differs\n }\n }\n else {\n Object.assign(_json, file);\n }\n};\nexport const successProcessor = (_schema, _ctx, json, _params) => {\n json.type = \"boolean\";\n};\nexport const customProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Custom types cannot be represented in JSON Schema\");\n }\n};\nexport const functionProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Function types cannot be represented in JSON Schema\");\n }\n};\nexport const transformProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Transforms cannot be represented in JSON Schema\");\n }\n};\nexport const mapProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Map cannot be represented in JSON Schema\");\n }\n};\nexport const setProcessor = (_schema, ctx, _json, _params) => {\n if (ctx.unrepresentable === \"throw\") {\n throw new Error(\"Set cannot be represented in JSON Schema\");\n }\n};\n// ==================== COMPOSITE TYPE PROCESSORS ====================\nexport const arrayProcessor = (schema, ctx, _json, params) => {\n const json = _json;\n const def = schema._zod.def;\n const { minimum, maximum } = schema._zod.bag;\n if (typeof minimum === \"number\")\n json.minItems = minimum;\n if (typeof maximum === \"number\")\n json.maxItems = maximum;\n json.type = \"array\";\n json.items = process(def.element, ctx, { ...params, path: [...params.path, \"items\"] });\n};\nexport const objectProcessor = (schema, ctx, _json, params) => {\n const json = _json;\n const def = schema._zod.def;\n json.type = \"object\";\n json.properties = {};\n const shape = def.shape;\n for (const key in shape) {\n json.properties[key] = process(shape[key], ctx, {\n ...params,\n path: [...params.path, \"properties\", key],\n });\n }\n // required keys\n const allKeys = new Set(Object.keys(shape));\n const requiredKeys = new Set([...allKeys].filter((key) => {\n const v = def.shape[key]._zod;\n if (ctx.io === \"input\") {\n return v.optin === undefined;\n }\n else {\n return v.optout === undefined;\n }\n }));\n if (requiredKeys.size > 0) {\n json.required = Array.from(requiredKeys);\n }\n // catchall\n if (def.catchall?._zod.def.type === \"never\") {\n // strict\n json.additionalProperties = false;\n }\n else if (!def.catchall) {\n // regular\n if (ctx.io === \"output\")\n json.additionalProperties = false;\n }\n else if (def.catchall) {\n json.additionalProperties = process(def.catchall, ctx, {\n ...params,\n path: [...params.path, \"additionalProperties\"],\n });\n }\n};\nexport const unionProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n // Exclusive unions (inclusive === false) use oneOf (exactly one match) instead of anyOf (one or more matches)\n // This includes both z.xor() and discriminated unions\n const isExclusive = def.inclusive === false;\n const options = def.options.map((x, i) => process(x, ctx, {\n ...params,\n path: [...params.path, isExclusive ? \"oneOf\" : \"anyOf\", i],\n }));\n if (isExclusive) {\n json.oneOf = options;\n }\n else {\n json.anyOf = options;\n }\n};\nexport const intersectionProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n const a = process(def.left, ctx, {\n ...params,\n path: [...params.path, \"allOf\", 0],\n });\n const b = process(def.right, ctx, {\n ...params,\n path: [...params.path, \"allOf\", 1],\n });\n const isSimpleIntersection = (val) => \"allOf\" in val && Object.keys(val).length === 1;\n const allOf = [\n ...(isSimpleIntersection(a) ? a.allOf : [a]),\n ...(isSimpleIntersection(b) ? b.allOf : [b]),\n ];\n json.allOf = allOf;\n};\nexport const tupleProcessor = (schema, ctx, _json, params) => {\n const json = _json;\n const def = schema._zod.def;\n json.type = \"array\";\n const prefixPath = ctx.target === \"draft-2020-12\" ? \"prefixItems\" : \"items\";\n const restPath = ctx.target === \"draft-2020-12\" ? \"items\" : ctx.target === \"openapi-3.0\" ? \"items\" : \"additionalItems\";\n const prefixItems = def.items.map((x, i) => process(x, ctx, {\n ...params,\n path: [...params.path, prefixPath, i],\n }));\n const rest = def.rest\n ? process(def.rest, ctx, {\n ...params,\n path: [...params.path, restPath, ...(ctx.target === \"openapi-3.0\" ? [def.items.length] : [])],\n })\n : null;\n if (ctx.target === \"draft-2020-12\") {\n json.prefixItems = prefixItems;\n if (rest) {\n json.items = rest;\n }\n }\n else if (ctx.target === \"openapi-3.0\") {\n json.items = {\n anyOf: prefixItems,\n };\n if (rest) {\n json.items.anyOf.push(rest);\n }\n json.minItems = prefixItems.length;\n if (!rest) {\n json.maxItems = prefixItems.length;\n }\n }\n else {\n json.items = prefixItems;\n if (rest) {\n json.additionalItems = rest;\n }\n }\n // length\n const { minimum, maximum } = schema._zod.bag;\n if (typeof minimum === \"number\")\n json.minItems = minimum;\n if (typeof maximum === \"number\")\n json.maxItems = maximum;\n};\nexport const recordProcessor = (schema, ctx, _json, params) => {\n const json = _json;\n const def = schema._zod.def;\n json.type = \"object\";\n // For looseRecord with regex patterns, use patternProperties\n // This correctly represents \"only validate keys matching the pattern\" semantics\n // and composes well with allOf (intersections)\n const keyType = def.keyType;\n const keyBag = keyType._zod.bag;\n const patterns = keyBag?.patterns;\n if (def.mode === \"loose\" && patterns && patterns.size > 0) {\n // Use patternProperties for looseRecord with regex patterns\n const valueSchema = process(def.valueType, ctx, {\n ...params,\n path: [...params.path, \"patternProperties\", \"*\"],\n });\n json.patternProperties = {};\n for (const pattern of patterns) {\n json.patternProperties[pattern.source] = valueSchema;\n }\n }\n else {\n // Default behavior: use propertyNames + additionalProperties\n if (ctx.target === \"draft-07\" || ctx.target === \"draft-2020-12\") {\n json.propertyNames = process(def.keyType, ctx, {\n ...params,\n path: [...params.path, \"propertyNames\"],\n });\n }\n json.additionalProperties = process(def.valueType, ctx, {\n ...params,\n path: [...params.path, \"additionalProperties\"],\n });\n }\n // Add required for keys with discrete values (enum, literal, etc.)\n const keyValues = keyType._zod.values;\n if (keyValues) {\n const validKeyValues = [...keyValues].filter((v) => typeof v === \"string\" || typeof v === \"number\");\n if (validKeyValues.length > 0) {\n json.required = validKeyValues;\n }\n }\n};\nexport const nullableProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n const inner = process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n if (ctx.target === \"openapi-3.0\") {\n seen.ref = def.innerType;\n json.nullable = true;\n }\n else {\n json.anyOf = [inner, { type: \"null\" }];\n }\n};\nexport const nonoptionalProcessor = (schema, ctx, _json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n};\nexport const defaultProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n json.default = JSON.parse(JSON.stringify(def.defaultValue));\n};\nexport const prefaultProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n if (ctx.io === \"input\")\n json._prefault = JSON.parse(JSON.stringify(def.defaultValue));\n};\nexport const catchProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n let catchValue;\n try {\n catchValue = def.catchValue(undefined);\n }\n catch {\n throw new Error(\"Dynamic catch values are not supported in JSON Schema\");\n }\n json.default = catchValue;\n};\nexport const pipeProcessor = (schema, ctx, _json, params) => {\n const def = schema._zod.def;\n const innerType = ctx.io === \"input\" ? (def.in._zod.def.type === \"transform\" ? def.out : def.in) : def.out;\n process(innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = innerType;\n};\nexport const readonlyProcessor = (schema, ctx, json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n json.readOnly = true;\n};\nexport const promiseProcessor = (schema, ctx, _json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n};\nexport const optionalProcessor = (schema, ctx, _json, params) => {\n const def = schema._zod.def;\n process(def.innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = def.innerType;\n};\nexport const lazyProcessor = (schema, ctx, _json, params) => {\n const innerType = schema._zod.innerType;\n process(innerType, ctx, params);\n const seen = ctx.seen.get(schema);\n seen.ref = innerType;\n};\n// ==================== ALL PROCESSORS ====================\nexport const allProcessors = {\n string: stringProcessor,\n number: numberProcessor,\n boolean: booleanProcessor,\n bigint: bigintProcessor,\n symbol: symbolProcessor,\n null: nullProcessor,\n undefined: undefinedProcessor,\n void: voidProcessor,\n never: neverProcessor,\n any: anyProcessor,\n unknown: unknownProcessor,\n date: dateProcessor,\n enum: enumProcessor,\n literal: literalProcessor,\n nan: nanProcessor,\n template_literal: templateLiteralProcessor,\n file: fileProcessor,\n success: successProcessor,\n custom: customProcessor,\n function: functionProcessor,\n transform: transformProcessor,\n map: mapProcessor,\n set: setProcessor,\n array: arrayProcessor,\n object: objectProcessor,\n union: unionProcessor,\n intersection: intersectionProcessor,\n tuple: tupleProcessor,\n record: recordProcessor,\n nullable: nullableProcessor,\n nonoptional: nonoptionalProcessor,\n default: defaultProcessor,\n prefault: prefaultProcessor,\n catch: catchProcessor,\n pipe: pipeProcessor,\n readonly: readonlyProcessor,\n promise: promiseProcessor,\n optional: optionalProcessor,\n lazy: lazyProcessor,\n};\nexport function toJSONSchema(input, params) {\n if (\"_idmap\" in input) {\n // Registry case\n const registry = input;\n const ctx = initializeContext({ ...params, processors: allProcessors });\n const defs = {};\n // First pass: process all schemas to build the seen map\n for (const entry of registry._idmap.entries()) {\n const [_, schema] = entry;\n process(schema, ctx);\n }\n const schemas = {};\n const external = {\n registry,\n uri: params?.uri,\n defs,\n };\n // Update the context with external configuration\n ctx.external = external;\n // Second pass: emit each schema\n for (const entry of registry._idmap.entries()) {\n const [key, schema] = entry;\n extractDefs(ctx, schema);\n schemas[key] = finalize(ctx, schema);\n }\n if (Object.keys(defs).length > 0) {\n const defsSegment = ctx.target === \"draft-2020-12\" ? \"$defs\" : \"definitions\";\n schemas.__shared = {\n [defsSegment]: defs,\n };\n }\n return { schemas };\n }\n // Single schema case\n const ctx = initializeContext({ ...params, processors: allProcessors });\n process(input, ctx);\n extractDefs(ctx, input);\n return finalize(ctx, input);\n}\n"],"names":["formatMap","stringProcessor","schema","ctx","_json","_params","json","minimum","maximum","format","patterns","contentEncoding","regexes","regex","numberProcessor","multipleOf","exclusiveMaximum","exclusiveMinimum","booleanProcessor","_schema","_ctx","bigintProcessor","symbolProcessor","nullProcessor","undefinedProcessor","voidProcessor","neverProcessor","anyProcessor","unknownProcessor","dateProcessor","enumProcessor","def","values","getEnumValues","v","literalProcessor","vals","val","nanProcessor","templateLiteralProcessor","pattern","fileProcessor","file","mime","m","successProcessor","customProcessor","functionProcessor","transformProcessor","mapProcessor","setProcessor","arrayProcessor","params","process","objectProcessor","shape","key","allKeys","requiredKeys","unionProcessor","isExclusive","options","x","i","intersectionProcessor","a","b","isSimpleIntersection","allOf","tupleProcessor","prefixPath","restPath","prefixItems","rest","recordProcessor","keyType","valueSchema","keyValues","validKeyValues","nullableProcessor","inner","seen","nonoptionalProcessor","defaultProcessor","prefaultProcessor","catchProcessor","catchValue","pipeProcessor","innerType","readonlyProcessor","promiseProcessor","optionalProcessor","lazyProcessor","allProcessors","toJSONSchema","input","registry","initializeContext","defs","entry","_","schemas","external","extractDefs","finalize","defsSegment"],"mappings":"iJAEMA,GAAY,CACd,KAAM,OACN,IAAK,MACL,SAAU,YACV,YAAa,cACb,MAAO,EACX,EAEaC,EAAkB,CAACC,EAAQC,EAAKC,EAAOC,IAAY,CAC5D,MAAMC,EAAOF,EACbE,EAAK,KAAO,SACZ,KAAM,CAAE,QAAAC,EAAS,QAAAC,EAAS,OAAAC,EAAQ,SAAAC,EAAU,gBAAAC,CAAiB,EAAGT,EAAO,KAClE,IAkBL,GAjBI,OAAOK,GAAY,WACnBD,EAAK,UAAYC,GACjB,OAAOC,GAAY,WACnBF,EAAK,UAAYE,GAEjBC,IACAH,EAAK,OAASN,GAAUS,CAAM,GAAKA,EAC/BH,EAAK,SAAW,IAChB,OAAOA,EAAK,OAGZG,IAAW,QACX,OAAOH,EAAK,QAGhBK,IACAL,EAAK,gBAAkBK,GACvBD,GAAYA,EAAS,KAAO,EAAG,CAC/B,MAAME,EAAU,CAAC,GAAGF,CAAQ,EACxBE,EAAQ,SAAW,EACnBN,EAAK,QAAUM,EAAQ,CAAC,EAAE,OACrBA,EAAQ,OAAS,IACtBN,EAAK,MAAQ,CACT,GAAGM,EAAQ,IAAKC,IAAW,CACvB,GAAIV,EAAI,SAAW,YAAcA,EAAI,SAAW,YAAcA,EAAI,SAAW,cACvE,CAAE,KAAM,QAAQ,EAChB,GACN,QAASU,EAAM,MACnC,EAAkB,CACL,EAEb,CACA,EACaC,EAAkB,CAACZ,EAAQC,EAAKC,EAAOC,IAAY,CAC5D,MAAMC,EAAOF,EACP,CAAE,QAAAG,EAAS,QAAAC,EAAS,OAAAC,EAAQ,WAAAM,EAAY,iBAAAC,EAAkB,iBAAAC,CAAkB,EAAGf,EAAO,KAAK,IAC7F,OAAOO,GAAW,UAAYA,EAAO,SAAS,KAAK,EACnDH,EAAK,KAAO,UAE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