@xenosystem/agent-cli 0.5.180 → 0.5.181

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.
Files changed (865) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/index.js +2455 -2453
  3. package/dist/metafile-esm.json +1 -1
  4. package/dist/sdk-build-identity.json +12 -12
  5. package/ownership/ownership-policy.json +99 -20
  6. package/package.json +94 -94
  7. package/node_modules/@xeno-corporation/account/LICENSE +0 -39
  8. package/node_modules/@xeno-corporation/account/README.md +0 -266
  9. package/node_modules/@xeno-corporation/account/dist/chunk-FELZILY4.mjs +0 -60
  10. package/node_modules/@xeno-corporation/account/dist/chunk-FELZILY4.mjs.map +0 -1
  11. package/node_modules/@xeno-corporation/account/dist/client-CVtf6u7F.d.mts +0 -2346
  12. package/node_modules/@xeno-corporation/account/dist/client-CVtf6u7F.d.ts +0 -2346
  13. package/node_modules/@xeno-corporation/account/dist/index.d.mts +0 -110
  14. package/node_modules/@xeno-corporation/account/dist/index.d.ts +0 -110
  15. package/node_modules/@xeno-corporation/account/dist/index.js +0 -4115
  16. package/node_modules/@xeno-corporation/account/dist/index.js.map +0 -1
  17. package/node_modules/@xeno-corporation/account/dist/index.mjs +0 -3967
  18. package/node_modules/@xeno-corporation/account/dist/index.mjs.map +0 -1
  19. package/node_modules/@xeno-corporation/account/dist/node.d.mts +0 -109
  20. package/node_modules/@xeno-corporation/account/dist/node.d.ts +0 -109
  21. package/node_modules/@xeno-corporation/account/dist/node.js +0 -1448
  22. package/node_modules/@xeno-corporation/account/dist/node.js.map +0 -1
  23. package/node_modules/@xeno-corporation/account/dist/node.mjs +0 -1374
  24. package/node_modules/@xeno-corporation/account/dist/node.mjs.map +0 -1
  25. package/node_modules/@xeno-corporation/account/package.json +0 -62
  26. package/node_modules/zod/LICENSE +0 -21
  27. package/node_modules/zod/README.md +0 -218
  28. package/node_modules/zod/compile.cjs +0 -96
  29. package/node_modules/zod/compile.d.cts +0 -1
  30. package/node_modules/zod/compile.d.ts +0 -1
  31. package/node_modules/zod/compile.js +0 -52
  32. package/node_modules/zod/index.cjs +0 -52
  33. package/node_modules/zod/index.d.cts +0 -3
  34. package/node_modules/zod/index.d.ts +0 -3
  35. package/node_modules/zod/index.js +0 -7
  36. package/node_modules/zod/locales/index.cjs +0 -36
  37. package/node_modules/zod/locales/index.d.cts +0 -1
  38. package/node_modules/zod/locales/index.d.ts +0 -1
  39. package/node_modules/zod/locales/index.js +0 -1
  40. package/node_modules/zod/locales/package.json +0 -7
  41. package/node_modules/zod/mini/index.cjs +0 -51
  42. package/node_modules/zod/mini/index.d.cts +0 -3
  43. package/node_modules/zod/mini/index.d.ts +0 -3
  44. package/node_modules/zod/mini/index.js +0 -3
  45. package/node_modules/zod/mini/package.json +0 -7
  46. package/node_modules/zod/package.json +0 -147
  47. package/node_modules/zod/src/compile.ts +0 -56
  48. package/node_modules/zod/src/index.ts +0 -7
  49. package/node_modules/zod/src/locales/index.ts +0 -1
  50. package/node_modules/zod/src/mini/index.ts +0 -3
  51. package/node_modules/zod/src/v3/ZodError.ts +0 -340
  52. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  53. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  54. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  55. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  56. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  57. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  58. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  59. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  60. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  61. package/node_modules/zod/src/v3/errors.ts +0 -13
  62. package/node_modules/zod/src/v3/external.ts +0 -6
  63. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  64. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  65. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  66. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  67. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  68. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  69. package/node_modules/zod/src/v3/index.ts +0 -4
  70. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  71. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  72. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  73. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  74. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  75. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  76. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  77. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  78. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  79. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  80. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  81. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  82. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  83. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  84. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  85. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  86. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  87. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  88. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  89. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  90. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  91. package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  92. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  93. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  94. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  95. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  96. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  97. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  98. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  99. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  100. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  101. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  102. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  103. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  104. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  105. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  106. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  107. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  108. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  109. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  110. package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  111. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  112. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  113. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  114. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  115. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  116. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  117. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  118. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  119. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  120. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  121. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  122. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  123. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  124. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  125. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  126. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  127. package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  128. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  129. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  130. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  131. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  132. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  133. package/node_modules/zod/src/v3/types.ts +0 -5138
  134. package/node_modules/zod/src/v4/classic/checks.ts +0 -33
  135. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  136. package/node_modules/zod/src/v4/classic/compat.ts +0 -78
  137. package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  138. package/node_modules/zod/src/v4/classic/errors.ts +0 -97
  139. package/node_modules/zod/src/v4/classic/external.ts +0 -57
  140. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  141. package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  142. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  143. package/node_modules/zod/src/v4/classic/iso.ts +0 -20
  144. package/node_modules/zod/src/v4/classic/parse.ts +0 -88
  145. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  146. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  147. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  148. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  149. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  150. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  151. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  152. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  153. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  154. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  155. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  156. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  157. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  158. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  159. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  160. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  161. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  162. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  163. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  164. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  165. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  166. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  167. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  168. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  169. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  170. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  171. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  172. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  173. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  174. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  175. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  176. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  177. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  178. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  179. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  180. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  181. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  182. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  183. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  184. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  185. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  186. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  187. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  188. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  189. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  190. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  191. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  192. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  193. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  194. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  195. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  196. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  197. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  198. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  199. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  200. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  201. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  202. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  203. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  204. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  205. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  206. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  207. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  208. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  209. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  210. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  211. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  212. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  213. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  214. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  215. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  216. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  217. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  218. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  219. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  220. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  221. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  222. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  223. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  224. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  225. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  226. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  227. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  228. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  229. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  230. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  231. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  232. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  233. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  234. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  235. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  236. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  237. package/node_modules/zod/src/v4/core/api.ts +0 -1875
  238. package/node_modules/zod/src/v4/core/checks.ts +0 -1266
  239. package/node_modules/zod/src/v4/core/compile.ts +0 -2322
  240. package/node_modules/zod/src/v4/core/core.ts +0 -230
  241. package/node_modules/zod/src/v4/core/doc.ts +0 -52
  242. package/node_modules/zod/src/v4/core/errors.ts +0 -543
  243. package/node_modules/zod/src/v4/core/index.ts +0 -19
  244. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  245. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  246. package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  247. package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  248. package/node_modules/zod/src/v4/core/parse.ts +0 -309
  249. package/node_modules/zod/src/v4/core/regexes.ts +0 -217
  250. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  251. package/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  252. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  253. package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  254. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  255. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  256. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  257. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  258. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  259. package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  260. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  261. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  262. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  263. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  264. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  265. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  266. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  267. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  268. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  269. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  270. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  271. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  272. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  273. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  274. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  275. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  276. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  277. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  278. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  279. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  280. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  281. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  282. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  283. package/node_modules/zod/src/v4/core/util.ts +0 -1293
  284. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  285. package/node_modules/zod/src/v4/core/visit.ts +0 -193
  286. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  287. package/node_modules/zod/src/v4/index.ts +0 -4
  288. package/node_modules/zod/src/v4/locales/ar.ts +0 -120
  289. package/node_modules/zod/src/v4/locales/az.ts +0 -116
  290. package/node_modules/zod/src/v4/locales/be.ts +0 -188
  291. package/node_modules/zod/src/v4/locales/bg.ts +0 -133
  292. package/node_modules/zod/src/v4/locales/bn.ts +0 -123
  293. package/node_modules/zod/src/v4/locales/ca.ts +0 -121
  294. package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  295. package/node_modules/zod/src/v4/locales/cs.ts +0 -123
  296. package/node_modules/zod/src/v4/locales/da.ts +0 -128
  297. package/node_modules/zod/src/v4/locales/de.ts +0 -121
  298. package/node_modules/zod/src/v4/locales/el.ts +0 -124
  299. package/node_modules/zod/src/v4/locales/en.ts +0 -136
  300. package/node_modules/zod/src/v4/locales/eo.ts +0 -123
  301. package/node_modules/zod/src/v4/locales/es.ts +0 -145
  302. package/node_modules/zod/src/v4/locales/fa.ts +0 -131
  303. package/node_modules/zod/src/v4/locales/fi.ts +0 -126
  304. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  305. package/node_modules/zod/src/v4/locales/fr.ts +0 -139
  306. package/node_modules/zod/src/v4/locales/gu.ts +0 -123
  307. package/node_modules/zod/src/v4/locales/he.ts +0 -253
  308. package/node_modules/zod/src/v4/locales/hi.ts +0 -126
  309. package/node_modules/zod/src/v4/locales/hr.ts +0 -135
  310. package/node_modules/zod/src/v4/locales/hu.ts +0 -122
  311. package/node_modules/zod/src/v4/locales/hy.ts +0 -175
  312. package/node_modules/zod/src/v4/locales/id.ts +0 -120
  313. package/node_modules/zod/src/v4/locales/index.ts +0 -63
  314. package/node_modules/zod/src/v4/locales/is.ts +0 -124
  315. package/node_modules/zod/src/v4/locales/it.ts +0 -121
  316. package/node_modules/zod/src/v4/locales/ja.ts +0 -119
  317. package/node_modules/zod/src/v4/locales/ka.ts +0 -128
  318. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  319. package/node_modules/zod/src/v4/locales/km.ts +0 -124
  320. package/node_modules/zod/src/v4/locales/kn.ts +0 -126
  321. package/node_modules/zod/src/v4/locales/ko.ts +0 -126
  322. package/node_modules/zod/src/v4/locales/lt.ts +0 -243
  323. package/node_modules/zod/src/v4/locales/mk.ts +0 -123
  324. package/node_modules/zod/src/v4/locales/ms.ts +0 -120
  325. package/node_modules/zod/src/v4/locales/ne.ts +0 -128
  326. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  327. package/node_modules/zod/src/v4/locales/nn.ts +0 -121
  328. package/node_modules/zod/src/v4/locales/no.ts +0 -121
  329. package/node_modules/zod/src/v4/locales/ota.ts +0 -122
  330. package/node_modules/zod/src/v4/locales/pl.ts +0 -123
  331. package/node_modules/zod/src/v4/locales/ps.ts +0 -131
  332. package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  333. package/node_modules/zod/src/v4/locales/pt.ts +0 -159
  334. package/node_modules/zod/src/v4/locales/ro.ts +0 -132
  335. package/node_modules/zod/src/v4/locales/ru.ts +0 -188
  336. package/node_modules/zod/src/v4/locales/sk.ts +0 -123
  337. package/node_modules/zod/src/v4/locales/sl.ts +0 -123
  338. package/node_modules/zod/src/v4/locales/sv.ts +0 -124
  339. package/node_modules/zod/src/v4/locales/ta.ts +0 -123
  340. package/node_modules/zod/src/v4/locales/tg.ts +0 -135
  341. package/node_modules/zod/src/v4/locales/th.ts +0 -124
  342. package/node_modules/zod/src/v4/locales/tk.ts +0 -113
  343. package/node_modules/zod/src/v4/locales/tr.ts +0 -116
  344. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  345. package/node_modules/zod/src/v4/locales/uk.ts +0 -122
  346. package/node_modules/zod/src/v4/locales/ur.ts +0 -124
  347. package/node_modules/zod/src/v4/locales/uz.ts +0 -120
  348. package/node_modules/zod/src/v4/locales/vi.ts +0 -122
  349. package/node_modules/zod/src/v4/locales/yo.ts +0 -129
  350. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  351. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  352. package/node_modules/zod/src/v4/mini/checks.ts +0 -33
  353. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  354. package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  355. package/node_modules/zod/src/v4/mini/external.ts +0 -52
  356. package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  357. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  358. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  359. package/node_modules/zod/src/v4/mini/parse.ts +0 -16
  360. package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  361. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  362. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  363. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  364. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  365. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  366. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  367. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  368. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  369. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  370. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  371. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  372. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  373. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  374. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  375. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  376. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  377. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  378. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  379. package/node_modules/zod/v3/ZodError.cjs +0 -167
  380. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  381. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  382. package/node_modules/zod/v3/ZodError.js +0 -143
  383. package/node_modules/zod/v3/errors.cjs +0 -36
  384. package/node_modules/zod/v3/errors.d.cts +0 -5
  385. package/node_modules/zod/v3/errors.d.ts +0 -5
  386. package/node_modules/zod/v3/errors.js +0 -9
  387. package/node_modules/zod/v3/external.cjs +0 -41
  388. package/node_modules/zod/v3/external.d.cts +0 -6
  389. package/node_modules/zod/v3/external.d.ts +0 -6
  390. package/node_modules/zod/v3/external.js +0 -6
  391. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  392. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  393. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  394. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  395. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  396. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  397. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  398. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  399. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  400. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  401. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  402. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  403. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  404. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  405. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  406. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  407. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  408. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  409. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  410. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  411. package/node_modules/zod/v3/helpers/util.cjs +0 -156
  412. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  413. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  414. package/node_modules/zod/v3/helpers/util.js +0 -133
  415. package/node_modules/zod/v3/index.cjs +0 -52
  416. package/node_modules/zod/v3/index.d.cts +0 -4
  417. package/node_modules/zod/v3/index.d.ts +0 -4
  418. package/node_modules/zod/v3/index.js +0 -4
  419. package/node_modules/zod/v3/locales/en.cjs +0 -112
  420. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  421. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  422. package/node_modules/zod/v3/locales/en.js +0 -109
  423. package/node_modules/zod/v3/package.json +0 -7
  424. package/node_modules/zod/v3/standard-schema.cjs +0 -21
  425. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  426. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  427. package/node_modules/zod/v3/standard-schema.js +0 -1
  428. package/node_modules/zod/v3/types.cjs +0 -3798
  429. package/node_modules/zod/v3/types.d.cts +0 -1034
  430. package/node_modules/zod/v3/types.d.ts +0 -1034
  431. package/node_modules/zod/v3/types.js +0 -3697
  432. package/node_modules/zod/v4/classic/checks.cjs +0 -53
  433. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  434. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  435. package/node_modules/zod/v4/classic/checks.js +0 -1
  436. package/node_modules/zod/v4/classic/coerce.cjs +0 -66
  437. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  438. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  439. package/node_modules/zod/v4/classic/coerce.js +0 -17
  440. package/node_modules/zod/v4/classic/compat.cjs +0 -80
  441. package/node_modules/zod/v4/classic/compat.d.cts +0 -48
  442. package/node_modules/zod/v4/classic/compat.d.ts +0 -48
  443. package/node_modules/zod/v4/classic/compat.js +0 -31
  444. package/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  445. package/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  446. package/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  447. package/node_modules/zod/v4/classic/deep-partial.js +0 -13
  448. package/node_modules/zod/v4/classic/errors.cjs +0 -102
  449. package/node_modules/zod/v4/classic/errors.d.cts +0 -29
  450. package/node_modules/zod/v4/classic/errors.d.ts +0 -29
  451. package/node_modules/zod/v4/classic/errors.js +0 -57
  452. package/node_modules/zod/v4/classic/external.cjs +0 -97
  453. package/node_modules/zod/v4/classic/external.d.cts +0 -19
  454. package/node_modules/zod/v4/classic/external.d.ts +0 -19
  455. package/node_modules/zod/v4/classic/external.js +0 -17
  456. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  457. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  458. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  459. package/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  460. package/node_modules/zod/v4/classic/in-out.cjs +0 -82
  461. package/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  462. package/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  463. package/node_modules/zod/v4/classic/in-out.js +0 -36
  464. package/node_modules/zod/v4/classic/index.cjs +0 -52
  465. package/node_modules/zod/v4/classic/index.d.cts +0 -3
  466. package/node_modules/zod/v4/classic/index.d.ts +0 -3
  467. package/node_modules/zod/v4/classic/index.js +0 -4
  468. package/node_modules/zod/v4/classic/iso.cjs +0 -68
  469. package/node_modules/zod/v4/classic/iso.d.cts +0 -7
  470. package/node_modules/zod/v4/classic/iso.d.ts +0 -7
  471. package/node_modules/zod/v4/classic/iso.js +0 -15
  472. package/node_modules/zod/v4/classic/package.json +0 -7
  473. package/node_modules/zod/v4/classic/parse.cjs +0 -63
  474. package/node_modules/zod/v4/classic/parse.d.cts +0 -44
  475. package/node_modules/zod/v4/classic/parse.d.ts +0 -44
  476. package/node_modules/zod/v4/classic/parse.js +0 -16
  477. package/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  478. package/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  479. package/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  480. package/node_modules/zod/v4/classic/schemas.js +0 -1535
  481. package/node_modules/zod/v4/core/api.cjs +0 -1269
  482. package/node_modules/zod/v4/core/api.d.cts +0 -335
  483. package/node_modules/zod/v4/core/api.d.ts +0 -335
  484. package/node_modules/zod/v4/core/api.js +0 -1107
  485. package/node_modules/zod/v4/core/checks.cjs +0 -561
  486. package/node_modules/zod/v4/core/checks.d.cts +0 -294
  487. package/node_modules/zod/v4/core/checks.d.ts +0 -294
  488. package/node_modules/zod/v4/core/checks.js +0 -516
  489. package/node_modules/zod/v4/core/compile.cjs +0 -1916
  490. package/node_modules/zod/v4/core/compile.d.cts +0 -65
  491. package/node_modules/zod/v4/core/compile.d.ts +0 -65
  492. package/node_modules/zod/v4/core/compile.js +0 -1866
  493. package/node_modules/zod/v4/core/core.cjs +0 -167
  494. package/node_modules/zod/v4/core/core.d.cts +0 -82
  495. package/node_modules/zod/v4/core/core.d.ts +0 -82
  496. package/node_modules/zod/v4/core/core.js +0 -141
  497. package/node_modules/zod/v4/core/doc.cjs +0 -61
  498. package/node_modules/zod/v4/core/doc.d.cts +0 -16
  499. package/node_modules/zod/v4/core/doc.d.ts +0 -16
  500. package/node_modules/zod/v4/core/doc.js +0 -38
  501. package/node_modules/zod/v4/core/errors.cjs +0 -317
  502. package/node_modules/zod/v4/core/errors.d.cts +0 -225
  503. package/node_modules/zod/v4/core/errors.d.ts +0 -225
  504. package/node_modules/zod/v4/core/errors.js +0 -267
  505. package/node_modules/zod/v4/core/index.cjs +0 -70
  506. package/node_modules/zod/v4/core/index.d.cts +0 -19
  507. package/node_modules/zod/v4/core/index.d.ts +0 -19
  508. package/node_modules/zod/v4/core/index.js +0 -19
  509. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  510. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  511. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  512. package/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  513. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  514. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  515. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  516. package/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  517. package/node_modules/zod/v4/core/json-schema.cjs +0 -21
  518. package/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  519. package/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  520. package/node_modules/zod/v4/core/json-schema.js +0 -1
  521. package/node_modules/zod/v4/core/memoizer.cjs +0 -360
  522. package/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  523. package/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  524. package/node_modules/zod/v4/core/memoizer.js +0 -311
  525. package/node_modules/zod/v4/core/package.json +0 -7
  526. package/node_modules/zod/v4/core/parse.cjs +0 -233
  527. package/node_modules/zod/v4/core/parse.d.cts +0 -52
  528. package/node_modules/zod/v4/core/parse.d.ts +0 -52
  529. package/node_modules/zod/v4/core/parse.js +0 -175
  530. package/node_modules/zod/v4/core/regexes.cjs +0 -209
  531. package/node_modules/zod/v4/core/regexes.d.cts +0 -90
  532. package/node_modules/zod/v4/core/regexes.d.ts +0 -90
  533. package/node_modules/zod/v4/core/regexes.js +0 -156
  534. package/node_modules/zod/v4/core/registries.cjs +0 -75
  535. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  536. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  537. package/node_modules/zod/v4/core/registries.js +0 -51
  538. package/node_modules/zod/v4/core/schemas.cjs +0 -2699
  539. package/node_modules/zod/v4/core/schemas.d.cts +0 -1275
  540. package/node_modules/zod/v4/core/schemas.d.ts +0 -1275
  541. package/node_modules/zod/v4/core/schemas.js +0 -2636
  542. package/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  543. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  544. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  545. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  546. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  547. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  548. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  549. package/node_modules/zod/v4/core/to-json-schema.js +0 -651
  550. package/node_modules/zod/v4/core/util.cjs +0 -964
  551. package/node_modules/zod/v4/core/util.d.cts +0 -280
  552. package/node_modules/zod/v4/core/util.d.ts +0 -280
  553. package/node_modules/zod/v4/core/util.js +0 -873
  554. package/node_modules/zod/v4/core/versions.cjs +0 -27
  555. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  556. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  557. package/node_modules/zod/v4/core/versions.js +0 -5
  558. package/node_modules/zod/v4/core/visit.cjs +0 -214
  559. package/node_modules/zod/v4/core/visit.d.cts +0 -30
  560. package/node_modules/zod/v4/core/visit.d.ts +0 -30
  561. package/node_modules/zod/v4/core/visit.js +0 -169
  562. package/node_modules/zod/v4/index.cjs +0 -51
  563. package/node_modules/zod/v4/index.d.cts +0 -3
  564. package/node_modules/zod/v4/index.d.ts +0 -3
  565. package/node_modules/zod/v4/index.js +0 -4
  566. package/node_modules/zod/v4/locales/ar.cjs +0 -138
  567. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  568. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  569. package/node_modules/zod/v4/locales/ar.js +0 -111
  570. package/node_modules/zod/v4/locales/az.cjs +0 -137
  571. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  572. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  573. package/node_modules/zod/v4/locales/az.js +0 -110
  574. package/node_modules/zod/v4/locales/be.cjs +0 -195
  575. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  576. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  577. package/node_modules/zod/v4/locales/be.js +0 -168
  578. package/node_modules/zod/v4/locales/bg.cjs +0 -152
  579. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  580. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  581. package/node_modules/zod/v4/locales/bg.js +0 -125
  582. package/node_modules/zod/v4/locales/bn.cjs +0 -140
  583. package/node_modules/zod/v4/locales/bn.d.cts +0 -5
  584. package/node_modules/zod/v4/locales/bn.d.ts +0 -4
  585. package/node_modules/zod/v4/locales/bn.js +0 -113
  586. package/node_modules/zod/v4/locales/ca.cjs +0 -139
  587. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  588. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  589. package/node_modules/zod/v4/locales/ca.js +0 -112
  590. package/node_modules/zod/v4/locales/ckb.cjs +0 -160
  591. package/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  592. package/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  593. package/node_modules/zod/v4/locales/ckb.js +0 -133
  594. package/node_modules/zod/v4/locales/cs.cjs +0 -143
  595. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  596. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  597. package/node_modules/zod/v4/locales/cs.js +0 -116
  598. package/node_modules/zod/v4/locales/da.cjs +0 -147
  599. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  600. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  601. package/node_modules/zod/v4/locales/da.js +0 -120
  602. package/node_modules/zod/v4/locales/de.cjs +0 -140
  603. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  604. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  605. package/node_modules/zod/v4/locales/de.js +0 -113
  606. package/node_modules/zod/v4/locales/el.cjs +0 -139
  607. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  608. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  609. package/node_modules/zod/v4/locales/el.js +0 -112
  610. package/node_modules/zod/v4/locales/en.cjs +0 -152
  611. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  612. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  613. package/node_modules/zod/v4/locales/en.js +0 -125
  614. package/node_modules/zod/v4/locales/eo.cjs +0 -141
  615. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  616. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  617. package/node_modules/zod/v4/locales/eo.js +0 -114
  618. package/node_modules/zod/v4/locales/es.cjs +0 -163
  619. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  620. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  621. package/node_modules/zod/v4/locales/es.js +0 -136
  622. package/node_modules/zod/v4/locales/fa.cjs +0 -146
  623. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  624. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  625. package/node_modules/zod/v4/locales/fa.js +0 -119
  626. package/node_modules/zod/v4/locales/fi.cjs +0 -144
  627. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  628. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  629. package/node_modules/zod/v4/locales/fi.js +0 -117
  630. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  631. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  632. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  633. package/node_modules/zod/v4/locales/fr-CA.js +0 -112
  634. package/node_modules/zod/v4/locales/fr.cjs +0 -156
  635. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  636. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  637. package/node_modules/zod/v4/locales/fr.js +0 -129
  638. package/node_modules/zod/v4/locales/gu.cjs +0 -140
  639. package/node_modules/zod/v4/locales/gu.d.cts +0 -5
  640. package/node_modules/zod/v4/locales/gu.d.ts +0 -4
  641. package/node_modules/zod/v4/locales/gu.js +0 -113
  642. package/node_modules/zod/v4/locales/he.cjs +0 -248
  643. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  644. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  645. package/node_modules/zod/v4/locales/he.js +0 -221
  646. package/node_modules/zod/v4/locales/hi.cjs +0 -138
  647. package/node_modules/zod/v4/locales/hi.d.cts +0 -5
  648. package/node_modules/zod/v4/locales/hi.d.ts +0 -4
  649. package/node_modules/zod/v4/locales/hi.js +0 -111
  650. package/node_modules/zod/v4/locales/hr.cjs +0 -153
  651. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  652. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  653. package/node_modules/zod/v4/locales/hr.js +0 -126
  654. package/node_modules/zod/v4/locales/hu.cjs +0 -140
  655. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  656. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  657. package/node_modules/zod/v4/locales/hu.js +0 -113
  658. package/node_modules/zod/v4/locales/hy.cjs +0 -185
  659. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  660. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  661. package/node_modules/zod/v4/locales/hy.js +0 -158
  662. package/node_modules/zod/v4/locales/id.cjs +0 -138
  663. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  664. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  665. package/node_modules/zod/v4/locales/id.js +0 -111
  666. package/node_modules/zod/v4/locales/index.cjs +0 -152
  667. package/node_modules/zod/v4/locales/index.d.cts +0 -63
  668. package/node_modules/zod/v4/locales/index.d.ts +0 -63
  669. package/node_modules/zod/v4/locales/index.js +0 -63
  670. package/node_modules/zod/v4/locales/is.cjs +0 -141
  671. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  672. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  673. package/node_modules/zod/v4/locales/is.js +0 -114
  674. package/node_modules/zod/v4/locales/it.cjs +0 -140
  675. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  676. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  677. package/node_modules/zod/v4/locales/it.js +0 -113
  678. package/node_modules/zod/v4/locales/ja.cjs +0 -139
  679. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  680. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  681. package/node_modules/zod/v4/locales/ja.js +0 -112
  682. package/node_modules/zod/v4/locales/ka.cjs +0 -144
  683. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  684. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  685. package/node_modules/zod/v4/locales/ka.js +0 -117
  686. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  687. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  688. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  689. package/node_modules/zod/v4/locales/kh.js +0 -5
  690. package/node_modules/zod/v4/locales/km.cjs +0 -142
  691. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  692. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  693. package/node_modules/zod/v4/locales/km.js +0 -115
  694. package/node_modules/zod/v4/locales/kn.cjs +0 -143
  695. package/node_modules/zod/v4/locales/kn.d.cts +0 -5
  696. package/node_modules/zod/v4/locales/kn.d.ts +0 -4
  697. package/node_modules/zod/v4/locales/kn.js +0 -116
  698. package/node_modules/zod/v4/locales/ko.cjs +0 -143
  699. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  700. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  701. package/node_modules/zod/v4/locales/ko.js +0 -116
  702. package/node_modules/zod/v4/locales/lt.cjs +0 -234
  703. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  704. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  705. package/node_modules/zod/v4/locales/lt.js +0 -207
  706. package/node_modules/zod/v4/locales/mk.cjs +0 -141
  707. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  708. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  709. package/node_modules/zod/v4/locales/mk.js +0 -114
  710. package/node_modules/zod/v4/locales/ms.cjs +0 -139
  711. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  712. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  713. package/node_modules/zod/v4/locales/ms.js +0 -112
  714. package/node_modules/zod/v4/locales/ne.cjs +0 -138
  715. package/node_modules/zod/v4/locales/ne.d.cts +0 -5
  716. package/node_modules/zod/v4/locales/ne.d.ts +0 -4
  717. package/node_modules/zod/v4/locales/ne.js +0 -111
  718. package/node_modules/zod/v4/locales/nl.cjs +0 -142
  719. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  720. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  721. package/node_modules/zod/v4/locales/nl.js +0 -115
  722. package/node_modules/zod/v4/locales/nn.cjs +0 -140
  723. package/node_modules/zod/v4/locales/nn.d.cts +0 -5
  724. package/node_modules/zod/v4/locales/nn.d.ts +0 -4
  725. package/node_modules/zod/v4/locales/nn.js +0 -113
  726. package/node_modules/zod/v4/locales/no.cjs +0 -140
  727. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  728. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  729. package/node_modules/zod/v4/locales/no.js +0 -113
  730. package/node_modules/zod/v4/locales/ota.cjs +0 -141
  731. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  732. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  733. package/node_modules/zod/v4/locales/ota.js +0 -114
  734. package/node_modules/zod/v4/locales/package.json +0 -7
  735. package/node_modules/zod/v4/locales/pl.cjs +0 -141
  736. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  737. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  738. package/node_modules/zod/v4/locales/pl.js +0 -114
  739. package/node_modules/zod/v4/locales/ps.cjs +0 -146
  740. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  741. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  742. package/node_modules/zod/v4/locales/ps.js +0 -119
  743. package/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  744. package/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  745. package/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  746. package/node_modules/zod/v4/locales/pt-BR.js +0 -143
  747. package/node_modules/zod/v4/locales/pt.cjs +0 -169
  748. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  749. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  750. package/node_modules/zod/v4/locales/pt.js +0 -142
  751. package/node_modules/zod/v4/locales/ro.cjs +0 -149
  752. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  753. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  754. package/node_modules/zod/v4/locales/ro.js +0 -122
  755. package/node_modules/zod/v4/locales/ru.cjs +0 -195
  756. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  757. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  758. package/node_modules/zod/v4/locales/ru.js +0 -168
  759. package/node_modules/zod/v4/locales/sk.cjs +0 -143
  760. package/node_modules/zod/v4/locales/sk.d.cts +0 -5
  761. package/node_modules/zod/v4/locales/sk.d.ts +0 -4
  762. package/node_modules/zod/v4/locales/sk.js +0 -116
  763. package/node_modules/zod/v4/locales/sl.cjs +0 -141
  764. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  765. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  766. package/node_modules/zod/v4/locales/sl.js +0 -114
  767. package/node_modules/zod/v4/locales/sv.cjs +0 -142
  768. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  769. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  770. package/node_modules/zod/v4/locales/sv.js +0 -115
  771. package/node_modules/zod/v4/locales/ta.cjs +0 -142
  772. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  773. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  774. package/node_modules/zod/v4/locales/ta.js +0 -115
  775. package/node_modules/zod/v4/locales/tg.cjs +0 -144
  776. package/node_modules/zod/v4/locales/tg.d.cts +0 -5
  777. package/node_modules/zod/v4/locales/tg.d.ts +0 -4
  778. package/node_modules/zod/v4/locales/tg.js +0 -117
  779. package/node_modules/zod/v4/locales/th.cjs +0 -142
  780. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  781. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  782. package/node_modules/zod/v4/locales/th.js +0 -115
  783. package/node_modules/zod/v4/locales/tk.cjs +0 -134
  784. package/node_modules/zod/v4/locales/tk.d.cts +0 -5
  785. package/node_modules/zod/v4/locales/tk.d.ts +0 -4
  786. package/node_modules/zod/v4/locales/tk.js +0 -107
  787. package/node_modules/zod/v4/locales/tr.cjs +0 -137
  788. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  789. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  790. package/node_modules/zod/v4/locales/tr.js +0 -110
  791. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  792. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  793. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  794. package/node_modules/zod/v4/locales/ua.js +0 -5
  795. package/node_modules/zod/v4/locales/uk.cjs +0 -140
  796. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  797. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  798. package/node_modules/zod/v4/locales/uk.js +0 -113
  799. package/node_modules/zod/v4/locales/ur.cjs +0 -142
  800. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  801. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  802. package/node_modules/zod/v4/locales/ur.js +0 -115
  803. package/node_modules/zod/v4/locales/uz.cjs +0 -140
  804. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  805. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  806. package/node_modules/zod/v4/locales/uz.js +0 -113
  807. package/node_modules/zod/v4/locales/vi.cjs +0 -140
  808. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  809. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  810. package/node_modules/zod/v4/locales/vi.js +0 -113
  811. package/node_modules/zod/v4/locales/yo.cjs +0 -139
  812. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  813. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  814. package/node_modules/zod/v4/locales/yo.js +0 -112
  815. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  816. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  817. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  818. package/node_modules/zod/v4/locales/zh-CN.js +0 -114
  819. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  820. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  821. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  822. package/node_modules/zod/v4/locales/zh-TW.js +0 -112
  823. package/node_modules/zod/v4/mini/checks.cjs +0 -54
  824. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  825. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  826. package/node_modules/zod/v4/mini/checks.js +0 -1
  827. package/node_modules/zod/v4/mini/coerce.cjs +0 -71
  828. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  829. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  830. package/node_modules/zod/v4/mini/coerce.js +0 -22
  831. package/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  832. package/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  833. package/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  834. package/node_modules/zod/v4/mini/deep-partial.js +0 -13
  835. package/node_modules/zod/v4/mini/external.cjs +0 -95
  836. package/node_modules/zod/v4/mini/external.d.cts +0 -16
  837. package/node_modules/zod/v4/mini/external.d.ts +0 -16
  838. package/node_modules/zod/v4/mini/external.js +0 -16
  839. package/node_modules/zod/v4/mini/in-out.cjs +0 -82
  840. package/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  841. package/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  842. package/node_modules/zod/v4/mini/in-out.js +0 -36
  843. package/node_modules/zod/v4/mini/index.cjs +0 -51
  844. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  845. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  846. package/node_modules/zod/v4/mini/index.js +0 -3
  847. package/node_modules/zod/v4/mini/iso.cjs +0 -83
  848. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  849. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  850. package/node_modules/zod/v4/mini/iso.js +0 -34
  851. package/node_modules/zod/v4/mini/package.json +0 -7
  852. package/node_modules/zod/v4/mini/parse.cjs +0 -37
  853. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  854. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  855. package/node_modules/zod/v4/mini/parse.js +0 -1
  856. package/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  857. package/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  858. package/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  859. package/node_modules/zod/v4/mini/schemas.js +0 -1002
  860. package/node_modules/zod/v4/package.json +0 -7
  861. package/node_modules/zod/v4-mini/index.cjs +0 -51
  862. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  863. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  864. package/node_modules/zod/v4-mini/index.js +0 -3
  865. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1269 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.TimePrecision = void 0;
27
- exports._string = _string;
28
- exports._coercedString = _coercedString;
29
- exports._email = _email;
30
- exports._guid = _guid;
31
- exports._uuid = _uuid;
32
- exports._uuidv4 = _uuidv4;
33
- exports._uuidv6 = _uuidv6;
34
- exports._uuidv7 = _uuidv7;
35
- exports._url = _url;
36
- exports._emoji = _emoji;
37
- exports._nanoid = _nanoid;
38
- exports._cuid = _cuid;
39
- exports._cuid2 = _cuid2;
40
- exports._ulid = _ulid;
41
- exports._xid = _xid;
42
- exports._ksuid = _ksuid;
43
- exports._ipv4 = _ipv4;
44
- exports._ipv6 = _ipv6;
45
- exports._mac = _mac;
46
- exports._cidrv4 = _cidrv4;
47
- exports._cidrv6 = _cidrv6;
48
- exports._base64 = _base64;
49
- exports._base64url = _base64url;
50
- exports._e164 = _e164;
51
- exports._creditCard = _creditCard;
52
- exports._iban = _iban;
53
- exports._jwt = _jwt;
54
- exports._isoDateTime = _isoDateTime;
55
- exports._isoDate = _isoDate;
56
- exports._isoTime = _isoTime;
57
- exports._isoDuration = _isoDuration;
58
- exports._number = _number;
59
- exports._coercedNumber = _coercedNumber;
60
- exports._int = _int;
61
- exports._float32 = _float32;
62
- exports._float64 = _float64;
63
- exports._int32 = _int32;
64
- exports._uint32 = _uint32;
65
- exports._boolean = _boolean;
66
- exports._coercedBoolean = _coercedBoolean;
67
- exports._bigint = _bigint;
68
- exports._coercedBigint = _coercedBigint;
69
- exports._int64 = _int64;
70
- exports._uint64 = _uint64;
71
- exports._symbol = _symbol;
72
- exports._undefined = _undefined;
73
- exports._null = _null;
74
- exports._any = _any;
75
- exports._unknown = _unknown;
76
- exports._never = _never;
77
- exports._void = _void;
78
- exports._date = _date;
79
- exports._coercedDate = _coercedDate;
80
- exports._nan = _nan;
81
- exports._lt = _lt;
82
- exports._lte = _lte;
83
- exports._max = _lte;
84
- exports._lte = _lte;
85
- exports._max = _lte;
86
- exports._gt = _gt;
87
- exports._gte = _gte;
88
- exports._min = _gte;
89
- exports._gte = _gte;
90
- exports._min = _gte;
91
- exports._positive = _positive;
92
- exports._negative = _negative;
93
- exports._nonpositive = _nonpositive;
94
- exports._nonnegative = _nonnegative;
95
- exports._multipleOf = _multipleOf;
96
- exports._maxSize = _maxSize;
97
- exports._minSize = _minSize;
98
- exports._size = _size;
99
- exports._maxLength = _maxLength;
100
- exports._minLength = _minLength;
101
- exports._length = _length;
102
- exports._regex = _regex;
103
- exports._lowercase = _lowercase;
104
- exports._uppercase = _uppercase;
105
- exports._includes = _includes;
106
- exports._startsWith = _startsWith;
107
- exports._endsWith = _endsWith;
108
- exports._property = _property;
109
- exports._properties = _properties;
110
- exports._mime = _mime;
111
- exports._overwrite = _overwrite;
112
- exports._normalize = _normalize;
113
- exports._trim = _trim;
114
- exports._toLowerCase = _toLowerCase;
115
- exports._toUpperCase = _toUpperCase;
116
- exports._slugify = _slugify;
117
- exports._array = _array;
118
- exports._union = _union;
119
- exports._xor = _xor;
120
- exports._discriminatedUnion = _discriminatedUnion;
121
- exports._intersection = _intersection;
122
- exports._tuple = _tuple;
123
- exports._record = _record;
124
- exports._map = _map;
125
- exports._set = _set;
126
- exports._enum = _enum;
127
- exports._nativeEnum = _nativeEnum;
128
- exports._literal = _literal;
129
- exports._file = _file;
130
- exports._transform = _transform;
131
- exports._optional = _optional;
132
- exports._nullable = _nullable;
133
- exports._default = _default;
134
- exports._nonoptional = _nonoptional;
135
- exports._success = _success;
136
- exports._catch = _catch;
137
- exports._pipe = _pipe;
138
- exports._readonly = _readonly;
139
- exports._templateLiteral = _templateLiteral;
140
- exports._lazy = _lazy;
141
- exports._promise = _promise;
142
- exports._custom = _custom;
143
- exports._refine = _refine;
144
- exports._superRefine = _superRefine;
145
- exports._check = _check;
146
- exports.describe = describe;
147
- exports.meta = meta;
148
- exports._stringbool = _stringbool;
149
- exports._stringFormat = _stringFormat;
150
- const checks = __importStar(require("./checks.cjs"));
151
- const registries = __importStar(require("./registries.cjs"));
152
- const schemas = __importStar(require("./schemas.cjs"));
153
- const util = __importStar(require("./util.cjs"));
154
- function snapshotChecks(def) {
155
- if (def.checks)
156
- def.checks = [...def.checks];
157
- return def;
158
- }
159
- // @__NO_SIDE_EFFECTS__
160
- function _string(Class, params) {
161
- return new Class(snapshotChecks({ type: "string", ...util.normalizeParams(params) }));
162
- }
163
- // @__NO_SIDE_EFFECTS__
164
- function _coercedString(Class, params) {
165
- return new Class(snapshotChecks({ type: "string", coerce: true, ...util.normalizeParams(params) }));
166
- }
167
- // @__NO_SIDE_EFFECTS__
168
- function _email(Class, params) {
169
- return new Class({
170
- type: "string",
171
- format: "email",
172
- check: "string_format",
173
- abort: false,
174
- ...util.normalizeParams(params),
175
- });
176
- }
177
- // @__NO_SIDE_EFFECTS__
178
- function _guid(Class, params) {
179
- return new Class({
180
- type: "string",
181
- format: "guid",
182
- check: "string_format",
183
- abort: false,
184
- ...util.normalizeParams(params),
185
- });
186
- }
187
- // @__NO_SIDE_EFFECTS__
188
- function _uuid(Class, params) {
189
- return new Class({
190
- type: "string",
191
- format: "uuid",
192
- check: "string_format",
193
- abort: false,
194
- ...util.normalizeParams(params),
195
- });
196
- }
197
- // @__NO_SIDE_EFFECTS__
198
- function _uuidv4(Class, params) {
199
- return new Class({
200
- type: "string",
201
- format: "uuid",
202
- check: "string_format",
203
- abort: false,
204
- version: "v4",
205
- ...util.normalizeParams(params),
206
- });
207
- }
208
- // @__NO_SIDE_EFFECTS__
209
- function _uuidv6(Class, params) {
210
- return new Class({
211
- type: "string",
212
- format: "uuid",
213
- check: "string_format",
214
- abort: false,
215
- version: "v6",
216
- ...util.normalizeParams(params),
217
- });
218
- }
219
- // @__NO_SIDE_EFFECTS__
220
- function _uuidv7(Class, params) {
221
- return new Class({
222
- type: "string",
223
- format: "uuid",
224
- check: "string_format",
225
- abort: false,
226
- version: "v7",
227
- ...util.normalizeParams(params),
228
- });
229
- }
230
- // @__NO_SIDE_EFFECTS__
231
- function _url(Class, params) {
232
- return new Class({
233
- type: "string",
234
- format: "url",
235
- check: "string_format",
236
- abort: false,
237
- ...util.normalizeParams(params),
238
- });
239
- }
240
- // @__NO_SIDE_EFFECTS__
241
- function _emoji(Class, params) {
242
- return new Class({
243
- type: "string",
244
- format: "emoji",
245
- check: "string_format",
246
- abort: false,
247
- ...util.normalizeParams(params),
248
- });
249
- }
250
- // @__NO_SIDE_EFFECTS__
251
- function _nanoid(Class, params) {
252
- return new Class({
253
- type: "string",
254
- format: "nanoid",
255
- check: "string_format",
256
- abort: false,
257
- ...util.normalizeParams(params),
258
- });
259
- }
260
- /**
261
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
262
- * (timestamps embedded in the id). Use {@link _cuid2} instead.
263
- * See https://github.com/paralleldrive/cuid.
264
- */
265
- // @__NO_SIDE_EFFECTS__
266
- function _cuid(Class, params) {
267
- return new Class({
268
- type: "string",
269
- format: "cuid",
270
- check: "string_format",
271
- abort: false,
272
- ...util.normalizeParams(params),
273
- });
274
- }
275
- // @__NO_SIDE_EFFECTS__
276
- function _cuid2(Class, params) {
277
- return new Class({
278
- type: "string",
279
- format: "cuid2",
280
- check: "string_format",
281
- abort: false,
282
- ...util.normalizeParams(params),
283
- });
284
- }
285
- // @__NO_SIDE_EFFECTS__
286
- function _ulid(Class, params) {
287
- return new Class({
288
- type: "string",
289
- format: "ulid",
290
- check: "string_format",
291
- abort: false,
292
- ...util.normalizeParams(params),
293
- });
294
- }
295
- // @__NO_SIDE_EFFECTS__
296
- function _xid(Class, params) {
297
- return new Class({
298
- type: "string",
299
- format: "xid",
300
- check: "string_format",
301
- abort: false,
302
- ...util.normalizeParams(params),
303
- });
304
- }
305
- // @__NO_SIDE_EFFECTS__
306
- function _ksuid(Class, params) {
307
- return new Class({
308
- type: "string",
309
- format: "ksuid",
310
- check: "string_format",
311
- abort: false,
312
- ...util.normalizeParams(params),
313
- });
314
- }
315
- // @__NO_SIDE_EFFECTS__
316
- function _ipv4(Class, params) {
317
- return new Class({
318
- type: "string",
319
- format: "ipv4",
320
- check: "string_format",
321
- abort: false,
322
- ...util.normalizeParams(params),
323
- });
324
- }
325
- // @__NO_SIDE_EFFECTS__
326
- function _ipv6(Class, params) {
327
- return new Class({
328
- type: "string",
329
- format: "ipv6",
330
- check: "string_format",
331
- abort: false,
332
- ...util.normalizeParams(params),
333
- });
334
- }
335
- // @__NO_SIDE_EFFECTS__
336
- function _mac(Class, params) {
337
- return new Class({
338
- type: "string",
339
- format: "mac",
340
- check: "string_format",
341
- abort: false,
342
- ...util.normalizeParams(params),
343
- });
344
- }
345
- // @__NO_SIDE_EFFECTS__
346
- function _cidrv4(Class, params) {
347
- return new Class({
348
- type: "string",
349
- format: "cidrv4",
350
- check: "string_format",
351
- abort: false,
352
- ...util.normalizeParams(params),
353
- });
354
- }
355
- // @__NO_SIDE_EFFECTS__
356
- function _cidrv6(Class, params) {
357
- return new Class({
358
- type: "string",
359
- format: "cidrv6",
360
- check: "string_format",
361
- abort: false,
362
- ...util.normalizeParams(params),
363
- });
364
- }
365
- // @__NO_SIDE_EFFECTS__
366
- function _base64(Class, params) {
367
- return new Class({
368
- type: "string",
369
- format: "base64",
370
- check: "string_format",
371
- abort: false,
372
- ...util.normalizeParams(params),
373
- });
374
- }
375
- // @__NO_SIDE_EFFECTS__
376
- function _base64url(Class, params) {
377
- return new Class({
378
- type: "string",
379
- format: "base64url",
380
- check: "string_format",
381
- abort: false,
382
- ...util.normalizeParams(params),
383
- });
384
- }
385
- // @__NO_SIDE_EFFECTS__
386
- function _e164(Class, params) {
387
- return new Class({
388
- type: "string",
389
- format: "e164",
390
- check: "string_format",
391
- abort: false,
392
- ...util.normalizeParams(params),
393
- });
394
- }
395
- // @__NO_SIDE_EFFECTS__
396
- function _creditCard(Class, params) {
397
- return new Class({
398
- type: "string",
399
- format: "credit_card",
400
- check: "string_format",
401
- abort: false,
402
- ...util.normalizeParams(params),
403
- });
404
- }
405
- // @__NO_SIDE_EFFECTS__
406
- function _iban(Class, params) {
407
- return new Class({
408
- type: "string",
409
- format: "iban",
410
- check: "string_format",
411
- abort: false,
412
- ...util.normalizeParams(params),
413
- });
414
- }
415
- // @__NO_SIDE_EFFECTS__
416
- function _jwt(Class, params) {
417
- return new Class({
418
- type: "string",
419
- format: "jwt",
420
- check: "string_format",
421
- abort: false,
422
- ...util.normalizeParams(params),
423
- });
424
- }
425
- exports.TimePrecision = {
426
- Any: null,
427
- Minute: -1,
428
- Second: 0,
429
- Millisecond: 3,
430
- Microsecond: 6,
431
- };
432
- // @__NO_SIDE_EFFECTS__
433
- function _isoDateTime(Class, params) {
434
- return new Class({
435
- type: "string",
436
- format: "datetime",
437
- check: "string_format",
438
- offset: false,
439
- local: false,
440
- precision: null,
441
- ...util.normalizeParams(params),
442
- });
443
- }
444
- // @__NO_SIDE_EFFECTS__
445
- function _isoDate(Class, params) {
446
- return new Class({
447
- type: "string",
448
- format: "date",
449
- check: "string_format",
450
- ...util.normalizeParams(params),
451
- });
452
- }
453
- // @__NO_SIDE_EFFECTS__
454
- function _isoTime(Class, params) {
455
- return new Class({
456
- type: "string",
457
- format: "time",
458
- check: "string_format",
459
- precision: null,
460
- ...util.normalizeParams(params),
461
- });
462
- }
463
- // @__NO_SIDE_EFFECTS__
464
- function _isoDuration(Class, params) {
465
- return new Class({
466
- type: "string",
467
- format: "duration",
468
- check: "string_format",
469
- ...util.normalizeParams(params),
470
- });
471
- }
472
- // @__NO_SIDE_EFFECTS__
473
- function _number(Class, params) {
474
- return new Class(snapshotChecks({ type: "number", checks: [], ...util.normalizeParams(params) }));
475
- }
476
- // @__NO_SIDE_EFFECTS__
477
- function _coercedNumber(Class, params) {
478
- return new Class(snapshotChecks({ type: "number", coerce: true, checks: [], ...util.normalizeParams(params) }));
479
- }
480
- // @__NO_SIDE_EFFECTS__
481
- function _int(Class, params) {
482
- return new Class({
483
- type: "number",
484
- check: "number_format",
485
- abort: false,
486
- format: "safeint",
487
- ...util.normalizeParams(params),
488
- });
489
- }
490
- // @__NO_SIDE_EFFECTS__
491
- function _float32(Class, params) {
492
- return new Class({
493
- type: "number",
494
- check: "number_format",
495
- abort: false,
496
- format: "float32",
497
- ...util.normalizeParams(params),
498
- });
499
- }
500
- // @__NO_SIDE_EFFECTS__
501
- function _float64(Class, params) {
502
- return new Class({
503
- type: "number",
504
- check: "number_format",
505
- abort: false,
506
- format: "float64",
507
- ...util.normalizeParams(params),
508
- });
509
- }
510
- // @__NO_SIDE_EFFECTS__
511
- function _int32(Class, params) {
512
- return new Class({
513
- type: "number",
514
- check: "number_format",
515
- abort: false,
516
- format: "int32",
517
- ...util.normalizeParams(params),
518
- });
519
- }
520
- // @__NO_SIDE_EFFECTS__
521
- function _uint32(Class, params) {
522
- return new Class({
523
- type: "number",
524
- check: "number_format",
525
- abort: false,
526
- format: "uint32",
527
- ...util.normalizeParams(params),
528
- });
529
- }
530
- // @__NO_SIDE_EFFECTS__
531
- function _boolean(Class, params) {
532
- return new Class({
533
- type: "boolean",
534
- ...util.normalizeParams(params),
535
- });
536
- }
537
- // @__NO_SIDE_EFFECTS__
538
- function _coercedBoolean(Class, params) {
539
- return new Class({
540
- type: "boolean",
541
- coerce: true,
542
- ...util.normalizeParams(params),
543
- });
544
- }
545
- // @__NO_SIDE_EFFECTS__
546
- function _bigint(Class, params) {
547
- return new Class({
548
- type: "bigint",
549
- ...util.normalizeParams(params),
550
- });
551
- }
552
- // @__NO_SIDE_EFFECTS__
553
- function _coercedBigint(Class, params) {
554
- return new Class({
555
- type: "bigint",
556
- coerce: true,
557
- ...util.normalizeParams(params),
558
- });
559
- }
560
- // @__NO_SIDE_EFFECTS__
561
- function _int64(Class, params) {
562
- return new Class({
563
- type: "bigint",
564
- check: "bigint_format",
565
- abort: false,
566
- format: "int64",
567
- ...util.normalizeParams(params),
568
- });
569
- }
570
- // @__NO_SIDE_EFFECTS__
571
- function _uint64(Class, params) {
572
- return new Class({
573
- type: "bigint",
574
- check: "bigint_format",
575
- abort: false,
576
- format: "uint64",
577
- ...util.normalizeParams(params),
578
- });
579
- }
580
- // @__NO_SIDE_EFFECTS__
581
- function _symbol(Class, params) {
582
- return new Class({
583
- type: "symbol",
584
- ...util.normalizeParams(params),
585
- });
586
- }
587
- // @__NO_SIDE_EFFECTS__
588
- function _undefined(Class, params) {
589
- return new Class({
590
- type: "undefined",
591
- ...util.normalizeParams(params),
592
- });
593
- }
594
- // @__NO_SIDE_EFFECTS__
595
- function _null(Class, params) {
596
- return new Class({
597
- type: "null",
598
- ...util.normalizeParams(params),
599
- });
600
- }
601
- // @__NO_SIDE_EFFECTS__
602
- function _any(Class) {
603
- return new Class({
604
- type: "any",
605
- });
606
- }
607
- // @__NO_SIDE_EFFECTS__
608
- function _unknown(Class) {
609
- return new Class({
610
- type: "unknown",
611
- });
612
- }
613
- // @__NO_SIDE_EFFECTS__
614
- function _never(Class, params) {
615
- return new Class({
616
- type: "never",
617
- ...util.normalizeParams(params),
618
- });
619
- }
620
- // @__NO_SIDE_EFFECTS__
621
- function _void(Class, params) {
622
- return new Class({
623
- type: "void",
624
- ...util.normalizeParams(params),
625
- });
626
- }
627
- // @__NO_SIDE_EFFECTS__
628
- function _date(Class, params) {
629
- return new Class({
630
- type: "date",
631
- ...util.normalizeParams(params),
632
- });
633
- }
634
- // @__NO_SIDE_EFFECTS__
635
- function _coercedDate(Class, params) {
636
- return new Class({
637
- type: "date",
638
- coerce: true,
639
- ...util.normalizeParams(params),
640
- });
641
- }
642
- // @__NO_SIDE_EFFECTS__
643
- function _nan(Class, params) {
644
- return new Class({
645
- type: "nan",
646
- ...util.normalizeParams(params),
647
- });
648
- }
649
- // @__NO_SIDE_EFFECTS__
650
- function _lt(value, params) {
651
- return new checks.$ZodCheckLessThan({
652
- check: "less_than",
653
- ...util.normalizeParams(params),
654
- value,
655
- inclusive: false,
656
- });
657
- }
658
- // @__NO_SIDE_EFFECTS__
659
- function _lte(value, params) {
660
- return new checks.$ZodCheckLessThan({
661
- check: "less_than",
662
- ...util.normalizeParams(params),
663
- value,
664
- inclusive: true,
665
- });
666
- }
667
- // @__NO_SIDE_EFFECTS__
668
- function _gt(value, params) {
669
- return new checks.$ZodCheckGreaterThan({
670
- check: "greater_than",
671
- ...util.normalizeParams(params),
672
- value,
673
- inclusive: false,
674
- });
675
- }
676
- // @__NO_SIDE_EFFECTS__
677
- function _gte(value, params) {
678
- return new checks.$ZodCheckGreaterThan({
679
- check: "greater_than",
680
- ...util.normalizeParams(params),
681
- value,
682
- inclusive: true,
683
- });
684
- }
685
- // @__NO_SIDE_EFFECTS__
686
- function _positive(params) {
687
- return _gt(0, params);
688
- }
689
- // negative
690
- // @__NO_SIDE_EFFECTS__
691
- function _negative(params) {
692
- return _lt(0, params);
693
- }
694
- // nonpositive
695
- // @__NO_SIDE_EFFECTS__
696
- function _nonpositive(params) {
697
- return _lte(0, params);
698
- }
699
- // nonnegative
700
- // @__NO_SIDE_EFFECTS__
701
- function _nonnegative(params) {
702
- return _gte(0, params);
703
- }
704
- // @__NO_SIDE_EFFECTS__
705
- function _multipleOf(value, params) {
706
- return new checks.$ZodCheckMultipleOf({
707
- check: "multiple_of",
708
- ...util.normalizeParams(params),
709
- value,
710
- });
711
- }
712
- // @__NO_SIDE_EFFECTS__
713
- function _maxSize(maximum, params) {
714
- return new checks.$ZodCheckMaxSize({
715
- check: "max_size",
716
- ...util.normalizeParams(params),
717
- maximum,
718
- });
719
- }
720
- // @__NO_SIDE_EFFECTS__
721
- function _minSize(minimum, params) {
722
- return new checks.$ZodCheckMinSize({
723
- check: "min_size",
724
- ...util.normalizeParams(params),
725
- minimum,
726
- });
727
- }
728
- // @__NO_SIDE_EFFECTS__
729
- function _size(size, params) {
730
- return new checks.$ZodCheckSizeEquals({
731
- check: "size_equals",
732
- ...util.normalizeParams(params),
733
- size,
734
- });
735
- }
736
- // @__NO_SIDE_EFFECTS__
737
- function _maxLength(maximum, params) {
738
- const ch = new checks.$ZodCheckMaxLength({
739
- check: "max_length",
740
- ...util.normalizeParams(params),
741
- maximum,
742
- });
743
- return ch;
744
- }
745
- // @__NO_SIDE_EFFECTS__
746
- function _minLength(minimum, params) {
747
- return new checks.$ZodCheckMinLength({
748
- check: "min_length",
749
- ...util.normalizeParams(params),
750
- minimum,
751
- });
752
- }
753
- // @__NO_SIDE_EFFECTS__
754
- function _length(length, params) {
755
- return new checks.$ZodCheckLengthEquals({
756
- check: "length_equals",
757
- ...util.normalizeParams(params),
758
- length,
759
- });
760
- }
761
- // @__NO_SIDE_EFFECTS__
762
- function _regex(pattern, params) {
763
- return new checks.$ZodCheckRegex({
764
- check: "string_format",
765
- format: "regex",
766
- ...util.normalizeParams(params),
767
- pattern,
768
- });
769
- }
770
- // @__NO_SIDE_EFFECTS__
771
- function _lowercase(params) {
772
- return new checks.$ZodCheckLowerCase({
773
- check: "string_format",
774
- format: "lowercase",
775
- ...util.normalizeParams(params),
776
- });
777
- }
778
- // @__NO_SIDE_EFFECTS__
779
- function _uppercase(params) {
780
- return new checks.$ZodCheckUpperCase({
781
- check: "string_format",
782
- format: "uppercase",
783
- ...util.normalizeParams(params),
784
- });
785
- }
786
- // @__NO_SIDE_EFFECTS__
787
- function _includes(includes, params) {
788
- return new checks.$ZodCheckIncludes({
789
- check: "string_format",
790
- format: "includes",
791
- ...util.normalizeParams(params),
792
- includes,
793
- });
794
- }
795
- // @__NO_SIDE_EFFECTS__
796
- function _startsWith(prefix, params) {
797
- return new checks.$ZodCheckStartsWith({
798
- check: "string_format",
799
- format: "starts_with",
800
- ...util.normalizeParams(params),
801
- prefix,
802
- });
803
- }
804
- // @__NO_SIDE_EFFECTS__
805
- function _endsWith(suffix, params) {
806
- return new checks.$ZodCheckEndsWith({
807
- check: "string_format",
808
- format: "ends_with",
809
- ...util.normalizeParams(params),
810
- suffix,
811
- });
812
- }
813
- // @__NO_SIDE_EFFECTS__
814
- function _property(property, schema, params) {
815
- return new checks.$ZodCheckProperty({
816
- check: "property",
817
- property,
818
- schema,
819
- ...util.normalizeParams(params),
820
- });
821
- }
822
- // @__NO_SIDE_EFFECTS__
823
- function _properties(shape, params) {
824
- return new checks.$ZodCheckProperties({
825
- check: "properties",
826
- shape,
827
- ...util.normalizeParams(params),
828
- });
829
- }
830
- // @__NO_SIDE_EFFECTS__
831
- function _mime(types, params) {
832
- return new checks.$ZodCheckMimeType({
833
- check: "mime_type",
834
- mime: types,
835
- ...util.normalizeParams(params),
836
- });
837
- }
838
- // @__NO_SIDE_EFFECTS__
839
- function _overwrite(tx) {
840
- return new checks.$ZodCheckOverwrite({
841
- check: "overwrite",
842
- tx,
843
- });
844
- }
845
- // normalize
846
- // @__NO_SIDE_EFFECTS__
847
- function _normalize(form) {
848
- return _overwrite((input) => input.normalize(form));
849
- }
850
- // trim
851
- // @__NO_SIDE_EFFECTS__
852
- function _trim() {
853
- return _overwrite((input) => input.trim());
854
- }
855
- // toLowerCase
856
- // @__NO_SIDE_EFFECTS__
857
- function _toLowerCase() {
858
- return _overwrite((input) => input.toLowerCase());
859
- }
860
- // toUpperCase
861
- // @__NO_SIDE_EFFECTS__
862
- function _toUpperCase() {
863
- return _overwrite((input) => input.toUpperCase());
864
- }
865
- // slugify
866
- // @__NO_SIDE_EFFECTS__
867
- function _slugify() {
868
- return _overwrite((input) => util.slugify(input));
869
- }
870
- // @__NO_SIDE_EFFECTS__
871
- function _array(Class, element, params) {
872
- return new Class({
873
- type: "array",
874
- element,
875
- // get element() {
876
- // return element;
877
- // },
878
- ...util.normalizeParams(params),
879
- });
880
- }
881
- // @__NO_SIDE_EFFECTS__
882
- function _union(Class, options, params) {
883
- return new Class({
884
- type: "union",
885
- options,
886
- ...util.normalizeParams(params),
887
- });
888
- }
889
- function _xor(Class, options, params) {
890
- return new Class({
891
- type: "union",
892
- options,
893
- inclusive: false,
894
- ...util.normalizeParams(params),
895
- });
896
- }
897
- // @__NO_SIDE_EFFECTS__
898
- function _discriminatedUnion(Class, discriminator, options, params) {
899
- return new Class({
900
- type: "union",
901
- options: options,
902
- discriminator,
903
- ...util.normalizeParams(params),
904
- });
905
- }
906
- // @__NO_SIDE_EFFECTS__
907
- function _intersection(Class, left, right) {
908
- return new Class({
909
- type: "intersection",
910
- left,
911
- right,
912
- });
913
- }
914
- // export function _tuple(
915
- // Class: util.SchemaClass<schemas.$ZodTuple>,
916
- // items: [],
917
- // params?: string | $ZodTupleParams
918
- // ): schemas.$ZodTuple<[], null>;
919
- // @__NO_SIDE_EFFECTS__
920
- function _tuple(Class, items, _paramsOrRest, _params) {
921
- const hasRest = _paramsOrRest instanceof schemas.$ZodType;
922
- const params = hasRest ? _params : _paramsOrRest;
923
- const rest = hasRest ? _paramsOrRest : null;
924
- return new Class({
925
- type: "tuple",
926
- items,
927
- rest,
928
- ...util.normalizeParams(params),
929
- });
930
- }
931
- // @__NO_SIDE_EFFECTS__
932
- function _record(Class, keyType, valueType, params) {
933
- return new Class({
934
- type: "record",
935
- keyType,
936
- valueType,
937
- ...util.normalizeParams(params),
938
- });
939
- }
940
- // @__NO_SIDE_EFFECTS__
941
- function _map(Class, keyType, valueType, params) {
942
- return new Class({
943
- type: "map",
944
- keyType,
945
- valueType,
946
- ...util.normalizeParams(params),
947
- });
948
- }
949
- // @__NO_SIDE_EFFECTS__
950
- function _set(Class, valueType, params) {
951
- return new Class({
952
- type: "set",
953
- valueType,
954
- ...util.normalizeParams(params),
955
- });
956
- }
957
- // @__NO_SIDE_EFFECTS__
958
- function _enum(Class, values, params) {
959
- const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
960
- // if (Array.isArray(values)) {
961
- // for (const value of values) {
962
- // entries[value] = value;
963
- // }
964
- // } else {
965
- // Object.assign(entries, values);
966
- // }
967
- // const entries: util.EnumLike = {};
968
- // for (const val of values) {
969
- // entries[val] = val;
970
- // }
971
- return new Class({
972
- type: "enum",
973
- entries,
974
- ...util.normalizeParams(params),
975
- });
976
- }
977
- // @__NO_SIDE_EFFECTS__
978
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
979
- *
980
- * ```ts
981
- * enum Colors { red, green, blue }
982
- * z.enum(Colors);
983
- * ```
984
- */
985
- function _nativeEnum(Class, entries, params) {
986
- return new Class({
987
- type: "enum",
988
- entries,
989
- ...util.normalizeParams(params),
990
- });
991
- }
992
- // @__NO_SIDE_EFFECTS__
993
- function _literal(Class, value, params) {
994
- return new Class({
995
- type: "literal",
996
- values: Array.isArray(value) ? value : [value],
997
- ...util.normalizeParams(params),
998
- });
999
- }
1000
- // @__NO_SIDE_EFFECTS__
1001
- function _file(Class, params) {
1002
- return new Class({
1003
- type: "file",
1004
- ...util.normalizeParams(params),
1005
- });
1006
- }
1007
- // @__NO_SIDE_EFFECTS__
1008
- function _transform(Class, fn) {
1009
- return new Class({
1010
- type: "transform",
1011
- transform: fn,
1012
- });
1013
- }
1014
- // @__NO_SIDE_EFFECTS__
1015
- function _optional(Class, innerType) {
1016
- return new Class({
1017
- type: "optional",
1018
- innerType,
1019
- });
1020
- }
1021
- // @__NO_SIDE_EFFECTS__
1022
- function _nullable(Class, innerType) {
1023
- return new Class({
1024
- type: "nullable",
1025
- innerType,
1026
- });
1027
- }
1028
- // @__NO_SIDE_EFFECTS__
1029
- function _default(Class, innerType, defaultValue) {
1030
- return new Class({
1031
- type: "default",
1032
- innerType,
1033
- get defaultValue() {
1034
- return typeof defaultValue === "function" ? defaultValue() : util.shallowClone(defaultValue);
1035
- },
1036
- });
1037
- }
1038
- // @__NO_SIDE_EFFECTS__
1039
- function _nonoptional(Class, innerType, params) {
1040
- return new Class({
1041
- type: "nonoptional",
1042
- innerType,
1043
- ...util.normalizeParams(params),
1044
- });
1045
- }
1046
- // @__NO_SIDE_EFFECTS__
1047
- function _success(Class, innerType) {
1048
- return new Class({
1049
- type: "success",
1050
- innerType,
1051
- });
1052
- }
1053
- // @__NO_SIDE_EFFECTS__
1054
- function _catch(Class, innerType, catchValue) {
1055
- return new Class({
1056
- type: "catch",
1057
- innerType,
1058
- catchValue: (typeof catchValue === "function" ? catchValue : util.constantCatch(catchValue)),
1059
- });
1060
- }
1061
- // @__NO_SIDE_EFFECTS__
1062
- function _pipe(Class, in_, out) {
1063
- return new Class({
1064
- type: "pipe",
1065
- in: in_,
1066
- out,
1067
- });
1068
- }
1069
- // @__NO_SIDE_EFFECTS__
1070
- function _readonly(Class, innerType) {
1071
- return new Class({
1072
- type: "readonly",
1073
- innerType,
1074
- });
1075
- }
1076
- // @__NO_SIDE_EFFECTS__
1077
- function _templateLiteral(Class, parts, params) {
1078
- return new Class({
1079
- type: "template_literal",
1080
- parts,
1081
- ...util.normalizeParams(params),
1082
- });
1083
- }
1084
- // @__NO_SIDE_EFFECTS__
1085
- function _lazy(Class, getter) {
1086
- return new Class({
1087
- type: "lazy",
1088
- getter,
1089
- });
1090
- }
1091
- // @__NO_SIDE_EFFECTS__
1092
- function _promise(Class, innerType) {
1093
- return new Class({
1094
- type: "promise",
1095
- innerType,
1096
- });
1097
- }
1098
- // @__NO_SIDE_EFFECTS__
1099
- function _custom(Class, fn, _params) {
1100
- const norm = util.normalizeParams(_params);
1101
- norm.abort ?? (norm.abort = true); // default to abort:false
1102
- const schema = new Class({
1103
- type: "custom",
1104
- check: "custom",
1105
- fn: fn,
1106
- ...norm,
1107
- });
1108
- return schema;
1109
- }
1110
- // same as _custom but defaults to abort:false
1111
- // @__NO_SIDE_EFFECTS__
1112
- function _refine(Class, fn, _params) {
1113
- const schema = new Class({
1114
- type: "custom",
1115
- check: "custom",
1116
- fn: fn,
1117
- ...util.normalizeParams(_params),
1118
- });
1119
- return schema;
1120
- }
1121
- // @__NO_SIDE_EFFECTS__
1122
- function _superRefine(fn, params) {
1123
- const ch = _check((payload) => {
1124
- payload.addIssue = (issue) => {
1125
- if (typeof issue === "string") {
1126
- payload.issues.push(util.issue(issue, payload.value, ch._zod.def));
1127
- }
1128
- else {
1129
- // for Zod 3 backwards compatibility
1130
- const _issue = issue;
1131
- if (_issue.fatal)
1132
- _issue.continue = false;
1133
- _issue.code ?? (_issue.code = "custom");
1134
- if (!("input" in _issue))
1135
- _issue.input = payload.value;
1136
- _issue.inst ?? (_issue.inst = ch);
1137
- _issue.continue ?? (_issue.continue = !ch._zod.def.abort); // abort is always undefined, so this is always true...
1138
- payload.issues.push(util.issue(_issue));
1139
- }
1140
- };
1141
- return fn(payload.value, payload);
1142
- }, params);
1143
- return ch;
1144
- }
1145
- // @__NO_SIDE_EFFECTS__
1146
- function _check(fn, params) {
1147
- const ch = new checks.$ZodCheck({
1148
- check: "custom",
1149
- ...util.normalizeParams(params),
1150
- });
1151
- ch._zod.check = fn;
1152
- return ch;
1153
- }
1154
- // @__NO_SIDE_EFFECTS__
1155
- function describe(description) {
1156
- const ch = new checks.$ZodCheck({ check: "describe" });
1157
- ch._zod.onattach = [
1158
- (inst) => {
1159
- const existing = registries.globalRegistry.get(inst) ?? {};
1160
- registries.globalRegistry.add(inst, { ...existing, description });
1161
- },
1162
- ];
1163
- ch._zod.check = () => { }; // no-op check
1164
- return ch;
1165
- }
1166
- // @__NO_SIDE_EFFECTS__
1167
- function meta(metadata) {
1168
- const ch = new checks.$ZodCheck({ check: "meta" });
1169
- ch._zod.onattach = [
1170
- (inst) => {
1171
- const existing = registries.globalRegistry.get(inst) ?? {};
1172
- registries.globalRegistry.add(inst, { ...existing, ...metadata });
1173
- },
1174
- ];
1175
- ch._zod.check = () => { }; // no-op check
1176
- return ch;
1177
- }
1178
- // @__NO_SIDE_EFFECTS__
1179
- function _stringbool(Classes, _params) {
1180
- const params = util.normalizeParams(_params);
1181
- let truthyArray = params.truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
1182
- let falsyArray = params.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
1183
- if (params.case !== "sensitive") {
1184
- truthyArray = truthyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1185
- falsyArray = falsyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
1186
- }
1187
- const truthySet = new Set(truthyArray);
1188
- const falsySet = new Set(falsyArray);
1189
- const _Codec = Classes.Codec ?? schemas.$ZodCodec;
1190
- const _Boolean = Classes.Boolean ?? schemas.$ZodBoolean;
1191
- const _String = Classes.String ?? schemas.$ZodString;
1192
- const stringSchema = new _String({ type: "string", error: params.error });
1193
- const booleanSchema = new _Boolean({ type: "boolean", error: params.error });
1194
- const codec = new _Codec({
1195
- type: "pipe",
1196
- in: stringSchema,
1197
- out: booleanSchema,
1198
- transform: ((input, payload) => {
1199
- let data = input;
1200
- if (params.case !== "sensitive")
1201
- data = data.toLowerCase();
1202
- if (truthySet.has(data)) {
1203
- return true;
1204
- }
1205
- else if (falsySet.has(data)) {
1206
- return false;
1207
- }
1208
- else {
1209
- payload.issues.push({
1210
- code: "invalid_value",
1211
- expected: "stringbool",
1212
- values: [...truthySet, ...falsySet],
1213
- input: payload.value,
1214
- inst: codec,
1215
- continue: false,
1216
- });
1217
- return {};
1218
- }
1219
- }),
1220
- reverseTransform: ((input, _payload) => {
1221
- if (input === true) {
1222
- return truthyArray[0] || "true";
1223
- }
1224
- else {
1225
- return falsyArray[0] || "false";
1226
- }
1227
- }),
1228
- error: params.error,
1229
- });
1230
- codec._zod.bag.truthy = truthyArray;
1231
- codec._zod.bag.falsy = falsyArray;
1232
- codec._zod.bag.case = params.case ?? "insensitive";
1233
- return codec;
1234
- }
1235
- // @__NO_SIDE_EFFECTS__
1236
- function _stringFormat(Class, format, fnOrRegex, _params = {}) {
1237
- const params = util.normalizeParams(_params);
1238
- const def = {
1239
- check: "string_format",
1240
- type: "string",
1241
- format,
1242
- fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
1243
- ...params,
1244
- };
1245
- if (fnOrRegex instanceof RegExp) {
1246
- def.pattern = fnOrRegex;
1247
- }
1248
- const inst = new Class(def);
1249
- return inst;
1250
- }
1251
-
1252
- // seal-cjs-exports
1253
- (function () {
1254
- var keys = Object.getOwnPropertyNames(exports);
1255
- for (var i = 0; i < keys.length; i++) {
1256
- var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
1257
- if (!desc || !desc.get || !desc.configurable) continue;
1258
- var value;
1259
- try {
1260
- value = desc.get();
1261
- } catch (e) {
1262
- continue;
1263
- }
1264
- // a circular require may not have settled this one yet, so leave it live
1265
- if (value === undefined) continue;
1266
- Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
1267
- }
1268
- Object.freeze(exports);
1269
- })();