create-croissant 0.1.30 → 0.1.32

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 (628) hide show
  1. package/package.json +1 -1
  2. package/template/apps/mobile/tsconfig.json +14 -2
  3. package/template/apps/platform/package.json +1 -3
  4. package/template/apps/platform/src/components/login-form.tsx +4 -4
  5. package/template/apps/platform/src/components/signup-form.tsx +15 -9
  6. package/template/apps/platform/src/routes/_auth/account.tsx +16 -10
  7. package/template/apps/platform/src/routes/_public/examples/client-orpc.tsx +14 -6
  8. package/template/apps/platform/src/routes/_public/examples/ssr-orpc.tsx +14 -6
  9. package/template/package.json +2 -1
  10. package/template/packages/orpc/package.json +1 -2
  11. package/template/packages/orpc/src/lib/planets.ts +18 -18
  12. package/template/packages/orpc/src/lib/router.ts +3 -3
  13. package/template/packages/ui/package.json +1 -2
  14. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/LICENSE +0 -21
  15. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/index.cjs +0 -7
  16. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/index.cjs.map +0 -1
  17. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/index.d.cts +0 -2
  18. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/types.d.cts +0 -5
  19. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/validator.cjs +0 -44
  20. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/validator.cjs.map +0 -1
  21. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/cjs/validator.d.cts +0 -15
  22. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/index.d.ts +0 -2
  23. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/index.js +0 -7
  24. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/index.js.map +0 -1
  25. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/types.d.ts +0 -5
  26. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/validator.d.ts +0 -15
  27. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/validator.js +0 -44
  28. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/dist/esm/validator.js.map +0 -1
  29. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/package.json +0 -50
  30. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/src/index.ts +0 -2
  31. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/src/types.ts +0 -6
  32. package/template/apps/platform/node_modules/@tanstack/zod-form-adapter/src/validator.ts +0 -77
  33. package/template/apps/platform/node_modules/zod/LICENSE +0 -21
  34. package/template/apps/platform/node_modules/zod/README.md +0 -208
  35. package/template/apps/platform/node_modules/zod/index.cjs +0 -33
  36. package/template/apps/platform/node_modules/zod/index.d.cts +0 -4
  37. package/template/apps/platform/node_modules/zod/index.d.ts +0 -4
  38. package/template/apps/platform/node_modules/zod/index.js +0 -4
  39. package/template/apps/platform/node_modules/zod/package.json +0 -118
  40. package/template/apps/platform/node_modules/zod/src/index.ts +0 -4
  41. package/template/apps/platform/node_modules/zod/src/v3/ZodError.ts +0 -330
  42. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  43. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  44. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  45. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  46. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  47. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  48. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  49. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  50. package/template/apps/platform/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  51. package/template/apps/platform/node_modules/zod/src/v3/errors.ts +0 -13
  52. package/template/apps/platform/node_modules/zod/src/v3/external.ts +0 -6
  53. package/template/apps/platform/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  54. package/template/apps/platform/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  55. package/template/apps/platform/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  56. package/template/apps/platform/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  57. package/template/apps/platform/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  58. package/template/apps/platform/node_modules/zod/src/v3/helpers/util.ts +0 -224
  59. package/template/apps/platform/node_modules/zod/src/v3/index.ts +0 -4
  60. package/template/apps/platform/node_modules/zod/src/v3/locales/en.ts +0 -124
  61. package/template/apps/platform/node_modules/zod/src/v3/standard-schema.ts +0 -113
  62. package/template/apps/platform/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  63. package/template/apps/platform/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  64. package/template/apps/platform/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  65. package/template/apps/platform/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  66. package/template/apps/platform/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  67. package/template/apps/platform/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  68. package/template/apps/platform/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  69. package/template/apps/platform/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  70. package/template/apps/platform/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  71. package/template/apps/platform/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  72. package/template/apps/platform/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  73. package/template/apps/platform/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  74. package/template/apps/platform/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  75. package/template/apps/platform/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  76. package/template/apps/platform/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  77. package/template/apps/platform/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  78. package/template/apps/platform/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  79. package/template/apps/platform/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  80. package/template/apps/platform/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  81. package/template/apps/platform/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  82. package/template/apps/platform/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  83. package/template/apps/platform/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  84. package/template/apps/platform/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  85. package/template/apps/platform/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  86. package/template/apps/platform/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  87. package/template/apps/platform/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  88. package/template/apps/platform/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  89. package/template/apps/platform/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  90. package/template/apps/platform/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  91. package/template/apps/platform/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  92. package/template/apps/platform/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  93. package/template/apps/platform/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  94. package/template/apps/platform/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  95. package/template/apps/platform/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  96. package/template/apps/platform/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  97. package/template/apps/platform/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  98. package/template/apps/platform/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  99. package/template/apps/platform/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  100. package/template/apps/platform/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  101. package/template/apps/platform/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  102. package/template/apps/platform/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  103. package/template/apps/platform/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  104. package/template/apps/platform/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  105. package/template/apps/platform/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  106. package/template/apps/platform/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  107. package/template/apps/platform/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  108. package/template/apps/platform/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  109. package/template/apps/platform/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  110. package/template/apps/platform/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  111. package/template/apps/platform/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  112. package/template/apps/platform/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  113. package/template/apps/platform/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  114. package/template/apps/platform/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  115. package/template/apps/platform/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  116. package/template/apps/platform/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  117. package/template/apps/platform/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  118. package/template/apps/platform/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  119. package/template/apps/platform/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  120. package/template/apps/platform/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  121. package/template/apps/platform/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  122. package/template/apps/platform/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  123. package/template/apps/platform/node_modules/zod/src/v3/types.ts +0 -5136
  124. package/template/apps/platform/node_modules/zod/src/v4/classic/checks.ts +0 -30
  125. package/template/apps/platform/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  126. package/template/apps/platform/node_modules/zod/src/v4/classic/compat.ts +0 -66
  127. package/template/apps/platform/node_modules/zod/src/v4/classic/errors.ts +0 -75
  128. package/template/apps/platform/node_modules/zod/src/v4/classic/external.ts +0 -50
  129. package/template/apps/platform/node_modules/zod/src/v4/classic/index.ts +0 -5
  130. package/template/apps/platform/node_modules/zod/src/v4/classic/iso.ts +0 -90
  131. package/template/apps/platform/node_modules/zod/src/v4/classic/parse.ts +0 -33
  132. package/template/apps/platform/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  133. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  134. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  135. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  136. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  137. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  138. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  139. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  140. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  141. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  142. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  143. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  144. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  145. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  146. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  147. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  148. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  149. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  150. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  151. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  152. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  153. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  154. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  155. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  156. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  157. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  158. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  159. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  160. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  161. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  162. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  163. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  164. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  165. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  166. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  167. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  168. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  169. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  170. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  171. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  172. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  173. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  174. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  175. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  176. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  177. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  178. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  179. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  180. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  181. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  182. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  183. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  184. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  185. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  186. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  187. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  188. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  189. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  190. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  191. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  192. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  193. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  194. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  195. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  196. package/template/apps/platform/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  197. package/template/apps/platform/node_modules/zod/src/v4/core/api.ts +0 -1594
  198. package/template/apps/platform/node_modules/zod/src/v4/core/checks.ts +0 -1283
  199. package/template/apps/platform/node_modules/zod/src/v4/core/config.ts +0 -15
  200. package/template/apps/platform/node_modules/zod/src/v4/core/core.ts +0 -134
  201. package/template/apps/platform/node_modules/zod/src/v4/core/doc.ts +0 -44
  202. package/template/apps/platform/node_modules/zod/src/v4/core/errors.ts +0 -424
  203. package/template/apps/platform/node_modules/zod/src/v4/core/function.ts +0 -176
  204. package/template/apps/platform/node_modules/zod/src/v4/core/index.ts +0 -15
  205. package/template/apps/platform/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  206. package/template/apps/platform/node_modules/zod/src/v4/core/parse.ts +0 -94
  207. package/template/apps/platform/node_modules/zod/src/v4/core/regexes.ts +0 -135
  208. package/template/apps/platform/node_modules/zod/src/v4/core/registries.ts +0 -96
  209. package/template/apps/platform/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  210. package/template/apps/platform/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  211. package/template/apps/platform/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  212. package/template/apps/platform/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  213. package/template/apps/platform/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  214. package/template/apps/platform/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  215. package/template/apps/platform/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  216. package/template/apps/platform/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  217. package/template/apps/platform/node_modules/zod/src/v4/core/util.ts +0 -775
  218. package/template/apps/platform/node_modules/zod/src/v4/core/versions.ts +0 -5
  219. package/template/apps/platform/node_modules/zod/src/v4/core/zsf.ts +0 -323
  220. package/template/apps/platform/node_modules/zod/src/v4/index.ts +0 -4
  221. package/template/apps/platform/node_modules/zod/src/v4/locales/ar.ts +0 -125
  222. package/template/apps/platform/node_modules/zod/src/v4/locales/az.ts +0 -121
  223. package/template/apps/platform/node_modules/zod/src/v4/locales/be.ts +0 -184
  224. package/template/apps/platform/node_modules/zod/src/v4/locales/ca.ts +0 -127
  225. package/template/apps/platform/node_modules/zod/src/v4/locales/cs.ts +0 -142
  226. package/template/apps/platform/node_modules/zod/src/v4/locales/de.ts +0 -124
  227. package/template/apps/platform/node_modules/zod/src/v4/locales/en.ts +0 -127
  228. package/template/apps/platform/node_modules/zod/src/v4/locales/eo.ts +0 -125
  229. package/template/apps/platform/node_modules/zod/src/v4/locales/es.ts +0 -125
  230. package/template/apps/platform/node_modules/zod/src/v4/locales/fa.ts +0 -134
  231. package/template/apps/platform/node_modules/zod/src/v4/locales/fi.ts +0 -131
  232. package/template/apps/platform/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  233. package/template/apps/platform/node_modules/zod/src/v4/locales/fr.ts +0 -124
  234. package/template/apps/platform/node_modules/zod/src/v4/locales/he.ts +0 -125
  235. package/template/apps/platform/node_modules/zod/src/v4/locales/hu.ts +0 -126
  236. package/template/apps/platform/node_modules/zod/src/v4/locales/id.ts +0 -125
  237. package/template/apps/platform/node_modules/zod/src/v4/locales/index.ts +0 -39
  238. package/template/apps/platform/node_modules/zod/src/v4/locales/it.ts +0 -125
  239. package/template/apps/platform/node_modules/zod/src/v4/locales/ja.ts +0 -122
  240. package/template/apps/platform/node_modules/zod/src/v4/locales/kh.ts +0 -126
  241. package/template/apps/platform/node_modules/zod/src/v4/locales/ko.ts +0 -131
  242. package/template/apps/platform/node_modules/zod/src/v4/locales/mk.ts +0 -127
  243. package/template/apps/platform/node_modules/zod/src/v4/locales/ms.ts +0 -124
  244. package/template/apps/platform/node_modules/zod/src/v4/locales/nl.ts +0 -126
  245. package/template/apps/platform/node_modules/zod/src/v4/locales/no.ts +0 -124
  246. package/template/apps/platform/node_modules/zod/src/v4/locales/ota.ts +0 -125
  247. package/template/apps/platform/node_modules/zod/src/v4/locales/pl.ts +0 -126
  248. package/template/apps/platform/node_modules/zod/src/v4/locales/ps.ts +0 -133
  249. package/template/apps/platform/node_modules/zod/src/v4/locales/pt.ts +0 -123
  250. package/template/apps/platform/node_modules/zod/src/v4/locales/ru.ts +0 -184
  251. package/template/apps/platform/node_modules/zod/src/v4/locales/sl.ts +0 -126
  252. package/template/apps/platform/node_modules/zod/src/v4/locales/sv.ts +0 -127
  253. package/template/apps/platform/node_modules/zod/src/v4/locales/ta.ts +0 -125
  254. package/template/apps/platform/node_modules/zod/src/v4/locales/th.ts +0 -126
  255. package/template/apps/platform/node_modules/zod/src/v4/locales/tr.ts +0 -121
  256. package/template/apps/platform/node_modules/zod/src/v4/locales/ua.ts +0 -126
  257. package/template/apps/platform/node_modules/zod/src/v4/locales/ur.ts +0 -126
  258. package/template/apps/platform/node_modules/zod/src/v4/locales/vi.ts +0 -125
  259. package/template/apps/platform/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  260. package/template/apps/platform/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  261. package/template/apps/platform/node_modules/zod/src/v4/mini/checks.ts +0 -32
  262. package/template/apps/platform/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  263. package/template/apps/platform/node_modules/zod/src/v4/mini/external.ts +0 -40
  264. package/template/apps/platform/node_modules/zod/src/v4/mini/index.ts +0 -3
  265. package/template/apps/platform/node_modules/zod/src/v4/mini/iso.ts +0 -62
  266. package/template/apps/platform/node_modules/zod/src/v4/mini/parse.ts +0 -1
  267. package/template/apps/platform/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  268. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  269. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  270. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  271. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  272. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  273. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  274. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  275. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  276. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  277. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  278. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  279. package/template/apps/platform/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  280. package/template/apps/platform/node_modules/zod/src/v4-mini/index.ts +0 -1
  281. package/template/apps/platform/node_modules/zod/v3/ZodError.cjs +0 -138
  282. package/template/apps/platform/node_modules/zod/v3/ZodError.d.cts +0 -164
  283. package/template/apps/platform/node_modules/zod/v3/ZodError.d.ts +0 -164
  284. package/template/apps/platform/node_modules/zod/v3/ZodError.js +0 -133
  285. package/template/apps/platform/node_modules/zod/v3/errors.cjs +0 -17
  286. package/template/apps/platform/node_modules/zod/v3/errors.d.cts +0 -5
  287. package/template/apps/platform/node_modules/zod/v3/errors.d.ts +0 -5
  288. package/template/apps/platform/node_modules/zod/v3/errors.js +0 -9
  289. package/template/apps/platform/node_modules/zod/v3/external.cjs +0 -22
  290. package/template/apps/platform/node_modules/zod/v3/external.d.cts +0 -6
  291. package/template/apps/platform/node_modules/zod/v3/external.d.ts +0 -6
  292. package/template/apps/platform/node_modules/zod/v3/external.js +0 -6
  293. package/template/apps/platform/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  294. package/template/apps/platform/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  295. package/template/apps/platform/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  296. package/template/apps/platform/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  297. package/template/apps/platform/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  298. package/template/apps/platform/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  299. package/template/apps/platform/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  300. package/template/apps/platform/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  301. package/template/apps/platform/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  302. package/template/apps/platform/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  303. package/template/apps/platform/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  304. package/template/apps/platform/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  305. package/template/apps/platform/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  306. package/template/apps/platform/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  307. package/template/apps/platform/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  308. package/template/apps/platform/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  309. package/template/apps/platform/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  310. package/template/apps/platform/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  311. package/template/apps/platform/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  312. package/template/apps/platform/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  313. package/template/apps/platform/node_modules/zod/v3/helpers/util.cjs +0 -137
  314. package/template/apps/platform/node_modules/zod/v3/helpers/util.d.cts +0 -85
  315. package/template/apps/platform/node_modules/zod/v3/helpers/util.d.ts +0 -85
  316. package/template/apps/platform/node_modules/zod/v3/helpers/util.js +0 -133
  317. package/template/apps/platform/node_modules/zod/v3/index.cjs +0 -33
  318. package/template/apps/platform/node_modules/zod/v3/index.d.cts +0 -4
  319. package/template/apps/platform/node_modules/zod/v3/index.d.ts +0 -4
  320. package/template/apps/platform/node_modules/zod/v3/index.js +0 -4
  321. package/template/apps/platform/node_modules/zod/v3/locales/en.cjs +0 -111
  322. package/template/apps/platform/node_modules/zod/v3/locales/en.d.cts +0 -3
  323. package/template/apps/platform/node_modules/zod/v3/locales/en.d.ts +0 -3
  324. package/template/apps/platform/node_modules/zod/v3/locales/en.js +0 -109
  325. package/template/apps/platform/node_modules/zod/v3/standard-schema.cjs +0 -2
  326. package/template/apps/platform/node_modules/zod/v3/standard-schema.d.cts +0 -102
  327. package/template/apps/platform/node_modules/zod/v3/standard-schema.d.ts +0 -102
  328. package/template/apps/platform/node_modules/zod/v3/standard-schema.js +0 -1
  329. package/template/apps/platform/node_modules/zod/v3/types.cjs +0 -3775
  330. package/template/apps/platform/node_modules/zod/v3/types.d.cts +0 -1031
  331. package/template/apps/platform/node_modules/zod/v3/types.d.ts +0 -1031
  332. package/template/apps/platform/node_modules/zod/v3/types.js +0 -3693
  333. package/template/apps/platform/node_modules/zod/v4/classic/checks.cjs +0 -32
  334. package/template/apps/platform/node_modules/zod/v4/classic/checks.d.cts +0 -1
  335. package/template/apps/platform/node_modules/zod/v4/classic/checks.d.ts +0 -1
  336. package/template/apps/platform/node_modules/zod/v4/classic/checks.js +0 -1
  337. package/template/apps/platform/node_modules/zod/v4/classic/coerce.cjs +0 -47
  338. package/template/apps/platform/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  339. package/template/apps/platform/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  340. package/template/apps/platform/node_modules/zod/v4/classic/coerce.js +0 -17
  341. package/template/apps/platform/node_modules/zod/v4/classic/compat.cjs +0 -57
  342. package/template/apps/platform/node_modules/zod/v4/classic/compat.d.cts +0 -46
  343. package/template/apps/platform/node_modules/zod/v4/classic/compat.d.ts +0 -46
  344. package/template/apps/platform/node_modules/zod/v4/classic/compat.js +0 -27
  345. package/template/apps/platform/node_modules/zod/v4/classic/errors.cjs +0 -67
  346. package/template/apps/platform/node_modules/zod/v4/classic/errors.d.cts +0 -30
  347. package/template/apps/platform/node_modules/zod/v4/classic/errors.d.ts +0 -30
  348. package/template/apps/platform/node_modules/zod/v4/classic/errors.js +0 -41
  349. package/template/apps/platform/node_modules/zod/v4/classic/external.cjs +0 -70
  350. package/template/apps/platform/node_modules/zod/v4/classic/external.d.cts +0 -13
  351. package/template/apps/platform/node_modules/zod/v4/classic/external.d.ts +0 -13
  352. package/template/apps/platform/node_modules/zod/v4/classic/external.js +0 -18
  353. package/template/apps/platform/node_modules/zod/v4/classic/index.cjs +0 -33
  354. package/template/apps/platform/node_modules/zod/v4/classic/index.d.cts +0 -4
  355. package/template/apps/platform/node_modules/zod/v4/classic/index.d.ts +0 -4
  356. package/template/apps/platform/node_modules/zod/v4/classic/index.js +0 -4
  357. package/template/apps/platform/node_modules/zod/v4/classic/iso.cjs +0 -60
  358. package/template/apps/platform/node_modules/zod/v4/classic/iso.d.cts +0 -22
  359. package/template/apps/platform/node_modules/zod/v4/classic/iso.d.ts +0 -22
  360. package/template/apps/platform/node_modules/zod/v4/classic/iso.js +0 -30
  361. package/template/apps/platform/node_modules/zod/v4/classic/parse.cjs +0 -32
  362. package/template/apps/platform/node_modules/zod/v4/classic/parse.d.cts +0 -23
  363. package/template/apps/platform/node_modules/zod/v4/classic/parse.d.ts +0 -23
  364. package/template/apps/platform/node_modules/zod/v4/classic/parse.js +0 -6
  365. package/template/apps/platform/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  366. package/template/apps/platform/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  367. package/template/apps/platform/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  368. package/template/apps/platform/node_modules/zod/v4/classic/schemas.js +0 -1006
  369. package/template/apps/platform/node_modules/zod/v4/core/api.cjs +0 -1039
  370. package/template/apps/platform/node_modules/zod/v4/core/api.d.cts +0 -284
  371. package/template/apps/platform/node_modules/zod/v4/core/api.d.ts +0 -284
  372. package/template/apps/platform/node_modules/zod/v4/core/api.js +0 -906
  373. package/template/apps/platform/node_modules/zod/v4/core/checks.cjs +0 -591
  374. package/template/apps/platform/node_modules/zod/v4/core/checks.d.cts +0 -278
  375. package/template/apps/platform/node_modules/zod/v4/core/checks.d.ts +0 -278
  376. package/template/apps/platform/node_modules/zod/v4/core/checks.js +0 -565
  377. package/template/apps/platform/node_modules/zod/v4/core/core.cjs +0 -67
  378. package/template/apps/platform/node_modules/zod/v4/core/core.d.cts +0 -49
  379. package/template/apps/platform/node_modules/zod/v4/core/core.d.ts +0 -49
  380. package/template/apps/platform/node_modules/zod/v4/core/core.js +0 -61
  381. package/template/apps/platform/node_modules/zod/v4/core/doc.cjs +0 -39
  382. package/template/apps/platform/node_modules/zod/v4/core/doc.d.cts +0 -14
  383. package/template/apps/platform/node_modules/zod/v4/core/doc.d.ts +0 -14
  384. package/template/apps/platform/node_modules/zod/v4/core/doc.js +0 -35
  385. package/template/apps/platform/node_modules/zod/v4/core/errors.cjs +0 -226
  386. package/template/apps/platform/node_modules/zod/v4/core/errors.d.cts +0 -208
  387. package/template/apps/platform/node_modules/zod/v4/core/errors.d.ts +0 -208
  388. package/template/apps/platform/node_modules/zod/v4/core/errors.js +0 -195
  389. package/template/apps/platform/node_modules/zod/v4/core/function.cjs +0 -102
  390. package/template/apps/platform/node_modules/zod/v4/core/function.d.cts +0 -52
  391. package/template/apps/platform/node_modules/zod/v4/core/function.d.ts +0 -52
  392. package/template/apps/platform/node_modules/zod/v4/core/function.js +0 -75
  393. package/template/apps/platform/node_modules/zod/v4/core/index.cjs +0 -44
  394. package/template/apps/platform/node_modules/zod/v4/core/index.d.cts +0 -15
  395. package/template/apps/platform/node_modules/zod/v4/core/index.d.ts +0 -15
  396. package/template/apps/platform/node_modules/zod/v4/core/index.js +0 -15
  397. package/template/apps/platform/node_modules/zod/v4/core/json-schema.cjs +0 -2
  398. package/template/apps/platform/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  399. package/template/apps/platform/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  400. package/template/apps/platform/node_modules/zod/v4/core/json-schema.js +0 -1
  401. package/template/apps/platform/node_modules/zod/v4/core/parse.cjs +0 -87
  402. package/template/apps/platform/node_modules/zod/v4/core/parse.d.cts +0 -25
  403. package/template/apps/platform/node_modules/zod/v4/core/parse.d.ts +0 -25
  404. package/template/apps/platform/node_modules/zod/v4/core/parse.js +0 -57
  405. package/template/apps/platform/node_modules/zod/v4/core/regexes.cjs +0 -103
  406. package/template/apps/platform/node_modules/zod/v4/core/regexes.d.cts +0 -62
  407. package/template/apps/platform/node_modules/zod/v4/core/regexes.d.ts +0 -62
  408. package/template/apps/platform/node_modules/zod/v4/core/regexes.js +0 -95
  409. package/template/apps/platform/node_modules/zod/v4/core/registries.cjs +0 -56
  410. package/template/apps/platform/node_modules/zod/v4/core/registries.d.cts +0 -35
  411. package/template/apps/platform/node_modules/zod/v4/core/registries.d.ts +0 -35
  412. package/template/apps/platform/node_modules/zod/v4/core/registries.js +0 -51
  413. package/template/apps/platform/node_modules/zod/v4/core/schemas.cjs +0 -1748
  414. package/template/apps/platform/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  415. package/template/apps/platform/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  416. package/template/apps/platform/node_modules/zod/v4/core/schemas.js +0 -1717
  417. package/template/apps/platform/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  418. package/template/apps/platform/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  419. package/template/apps/platform/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  420. package/template/apps/platform/node_modules/zod/v4/core/standard-schema.js +0 -1
  421. package/template/apps/platform/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  422. package/template/apps/platform/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  423. package/template/apps/platform/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  424. package/template/apps/platform/node_modules/zod/v4/core/to-json-schema.js +0 -849
  425. package/template/apps/platform/node_modules/zod/v4/core/util.cjs +0 -539
  426. package/template/apps/platform/node_modules/zod/v4/core/util.d.cts +0 -183
  427. package/template/apps/platform/node_modules/zod/v4/core/util.d.ts +0 -183
  428. package/template/apps/platform/node_modules/zod/v4/core/util.js +0 -493
  429. package/template/apps/platform/node_modules/zod/v4/core/versions.cjs +0 -8
  430. package/template/apps/platform/node_modules/zod/v4/core/versions.d.cts +0 -5
  431. package/template/apps/platform/node_modules/zod/v4/core/versions.d.ts +0 -5
  432. package/template/apps/platform/node_modules/zod/v4/core/versions.js +0 -5
  433. package/template/apps/platform/node_modules/zod/v4/index.cjs +0 -22
  434. package/template/apps/platform/node_modules/zod/v4/index.d.cts +0 -3
  435. package/template/apps/platform/node_modules/zod/v4/index.d.ts +0 -3
  436. package/template/apps/platform/node_modules/zod/v4/index.js +0 -3
  437. package/template/apps/platform/node_modules/zod/v4/locales/ar.cjs +0 -142
  438. package/template/apps/platform/node_modules/zod/v4/locales/ar.d.cts +0 -4
  439. package/template/apps/platform/node_modules/zod/v4/locales/ar.d.ts +0 -4
  440. package/template/apps/platform/node_modules/zod/v4/locales/ar.js +0 -116
  441. package/template/apps/platform/node_modules/zod/v4/locales/az.cjs +0 -141
  442. package/template/apps/platform/node_modules/zod/v4/locales/az.d.cts +0 -4
  443. package/template/apps/platform/node_modules/zod/v4/locales/az.d.ts +0 -4
  444. package/template/apps/platform/node_modules/zod/v4/locales/az.js +0 -115
  445. package/template/apps/platform/node_modules/zod/v4/locales/be.cjs +0 -190
  446. package/template/apps/platform/node_modules/zod/v4/locales/be.d.cts +0 -4
  447. package/template/apps/platform/node_modules/zod/v4/locales/be.d.ts +0 -4
  448. package/template/apps/platform/node_modules/zod/v4/locales/be.js +0 -164
  449. package/template/apps/platform/node_modules/zod/v4/locales/ca.cjs +0 -144
  450. package/template/apps/platform/node_modules/zod/v4/locales/ca.d.cts +0 -4
  451. package/template/apps/platform/node_modules/zod/v4/locales/ca.d.ts +0 -4
  452. package/template/apps/platform/node_modules/zod/v4/locales/ca.js +0 -118
  453. package/template/apps/platform/node_modules/zod/v4/locales/cs.cjs +0 -161
  454. package/template/apps/platform/node_modules/zod/v4/locales/cs.d.cts +0 -4
  455. package/template/apps/platform/node_modules/zod/v4/locales/cs.d.ts +0 -4
  456. package/template/apps/platform/node_modules/zod/v4/locales/cs.js +0 -135
  457. package/template/apps/platform/node_modules/zod/v4/locales/de.cjs +0 -142
  458. package/template/apps/platform/node_modules/zod/v4/locales/de.d.cts +0 -4
  459. package/template/apps/platform/node_modules/zod/v4/locales/de.d.ts +0 -4
  460. package/template/apps/platform/node_modules/zod/v4/locales/de.js +0 -116
  461. package/template/apps/platform/node_modules/zod/v4/locales/en.cjs +0 -145
  462. package/template/apps/platform/node_modules/zod/v4/locales/en.d.cts +0 -5
  463. package/template/apps/platform/node_modules/zod/v4/locales/en.d.ts +0 -5
  464. package/template/apps/platform/node_modules/zod/v4/locales/en.js +0 -117
  465. package/template/apps/platform/node_modules/zod/v4/locales/eo.cjs +0 -144
  466. package/template/apps/platform/node_modules/zod/v4/locales/eo.d.cts +0 -5
  467. package/template/apps/platform/node_modules/zod/v4/locales/eo.d.ts +0 -5
  468. package/template/apps/platform/node_modules/zod/v4/locales/eo.js +0 -116
  469. package/template/apps/platform/node_modules/zod/v4/locales/es.cjs +0 -143
  470. package/template/apps/platform/node_modules/zod/v4/locales/es.d.cts +0 -4
  471. package/template/apps/platform/node_modules/zod/v4/locales/es.d.ts +0 -4
  472. package/template/apps/platform/node_modules/zod/v4/locales/es.js +0 -117
  473. package/template/apps/platform/node_modules/zod/v4/locales/fa.cjs +0 -148
  474. package/template/apps/platform/node_modules/zod/v4/locales/fa.d.cts +0 -4
  475. package/template/apps/platform/node_modules/zod/v4/locales/fa.d.ts +0 -4
  476. package/template/apps/platform/node_modules/zod/v4/locales/fa.js +0 -122
  477. package/template/apps/platform/node_modules/zod/v4/locales/fi.cjs +0 -148
  478. package/template/apps/platform/node_modules/zod/v4/locales/fi.d.cts +0 -4
  479. package/template/apps/platform/node_modules/zod/v4/locales/fi.d.ts +0 -4
  480. package/template/apps/platform/node_modules/zod/v4/locales/fi.js +0 -122
  481. package/template/apps/platform/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  482. package/template/apps/platform/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  483. package/template/apps/platform/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  484. package/template/apps/platform/node_modules/zod/v4/locales/fr-CA.js +0 -117
  485. package/template/apps/platform/node_modules/zod/v4/locales/fr.cjs +0 -142
  486. package/template/apps/platform/node_modules/zod/v4/locales/fr.d.cts +0 -4
  487. package/template/apps/platform/node_modules/zod/v4/locales/fr.d.ts +0 -4
  488. package/template/apps/platform/node_modules/zod/v4/locales/fr.js +0 -116
  489. package/template/apps/platform/node_modules/zod/v4/locales/he.cjs +0 -143
  490. package/template/apps/platform/node_modules/zod/v4/locales/he.d.cts +0 -4
  491. package/template/apps/platform/node_modules/zod/v4/locales/he.d.ts +0 -4
  492. package/template/apps/platform/node_modules/zod/v4/locales/he.js +0 -117
  493. package/template/apps/platform/node_modules/zod/v4/locales/hu.cjs +0 -143
  494. package/template/apps/platform/node_modules/zod/v4/locales/hu.d.cts +0 -4
  495. package/template/apps/platform/node_modules/zod/v4/locales/hu.d.ts +0 -4
  496. package/template/apps/platform/node_modules/zod/v4/locales/hu.js +0 -117
  497. package/template/apps/platform/node_modules/zod/v4/locales/id.cjs +0 -142
  498. package/template/apps/platform/node_modules/zod/v4/locales/id.d.cts +0 -4
  499. package/template/apps/platform/node_modules/zod/v4/locales/id.d.ts +0 -4
  500. package/template/apps/platform/node_modules/zod/v4/locales/id.js +0 -116
  501. package/template/apps/platform/node_modules/zod/v4/locales/index.cjs +0 -84
  502. package/template/apps/platform/node_modules/zod/v4/locales/index.d.cts +0 -39
  503. package/template/apps/platform/node_modules/zod/v4/locales/index.d.ts +0 -39
  504. package/template/apps/platform/node_modules/zod/v4/locales/index.js +0 -39
  505. package/template/apps/platform/node_modules/zod/v4/locales/it.cjs +0 -143
  506. package/template/apps/platform/node_modules/zod/v4/locales/it.d.cts +0 -4
  507. package/template/apps/platform/node_modules/zod/v4/locales/it.d.ts +0 -4
  508. package/template/apps/platform/node_modules/zod/v4/locales/it.js +0 -117
  509. package/template/apps/platform/node_modules/zod/v4/locales/ja.cjs +0 -141
  510. package/template/apps/platform/node_modules/zod/v4/locales/ja.d.cts +0 -4
  511. package/template/apps/platform/node_modules/zod/v4/locales/ja.d.ts +0 -4
  512. package/template/apps/platform/node_modules/zod/v4/locales/ja.js +0 -115
  513. package/template/apps/platform/node_modules/zod/v4/locales/kh.cjs +0 -143
  514. package/template/apps/platform/node_modules/zod/v4/locales/kh.d.cts +0 -4
  515. package/template/apps/platform/node_modules/zod/v4/locales/kh.d.ts +0 -4
  516. package/template/apps/platform/node_modules/zod/v4/locales/kh.js +0 -117
  517. package/template/apps/platform/node_modules/zod/v4/locales/ko.cjs +0 -147
  518. package/template/apps/platform/node_modules/zod/v4/locales/ko.d.cts +0 -4
  519. package/template/apps/platform/node_modules/zod/v4/locales/ko.d.ts +0 -4
  520. package/template/apps/platform/node_modules/zod/v4/locales/ko.js +0 -121
  521. package/template/apps/platform/node_modules/zod/v4/locales/mk.cjs +0 -144
  522. package/template/apps/platform/node_modules/zod/v4/locales/mk.d.cts +0 -4
  523. package/template/apps/platform/node_modules/zod/v4/locales/mk.d.ts +0 -4
  524. package/template/apps/platform/node_modules/zod/v4/locales/mk.js +0 -118
  525. package/template/apps/platform/node_modules/zod/v4/locales/ms.cjs +0 -142
  526. package/template/apps/platform/node_modules/zod/v4/locales/ms.d.cts +0 -4
  527. package/template/apps/platform/node_modules/zod/v4/locales/ms.d.ts +0 -4
  528. package/template/apps/platform/node_modules/zod/v4/locales/ms.js +0 -116
  529. package/template/apps/platform/node_modules/zod/v4/locales/nl.cjs +0 -143
  530. package/template/apps/platform/node_modules/zod/v4/locales/nl.d.cts +0 -4
  531. package/template/apps/platform/node_modules/zod/v4/locales/nl.d.ts +0 -4
  532. package/template/apps/platform/node_modules/zod/v4/locales/nl.js +0 -117
  533. package/template/apps/platform/node_modules/zod/v4/locales/no.cjs +0 -142
  534. package/template/apps/platform/node_modules/zod/v4/locales/no.d.cts +0 -4
  535. package/template/apps/platform/node_modules/zod/v4/locales/no.d.ts +0 -4
  536. package/template/apps/platform/node_modules/zod/v4/locales/no.js +0 -116
  537. package/template/apps/platform/node_modules/zod/v4/locales/ota.cjs +0 -143
  538. package/template/apps/platform/node_modules/zod/v4/locales/ota.d.cts +0 -4
  539. package/template/apps/platform/node_modules/zod/v4/locales/ota.d.ts +0 -4
  540. package/template/apps/platform/node_modules/zod/v4/locales/ota.js +0 -117
  541. package/template/apps/platform/node_modules/zod/v4/locales/pl.cjs +0 -143
  542. package/template/apps/platform/node_modules/zod/v4/locales/pl.d.cts +0 -4
  543. package/template/apps/platform/node_modules/zod/v4/locales/pl.d.ts +0 -4
  544. package/template/apps/platform/node_modules/zod/v4/locales/pl.js +0 -117
  545. package/template/apps/platform/node_modules/zod/v4/locales/ps.cjs +0 -148
  546. package/template/apps/platform/node_modules/zod/v4/locales/ps.d.cts +0 -4
  547. package/template/apps/platform/node_modules/zod/v4/locales/ps.d.ts +0 -4
  548. package/template/apps/platform/node_modules/zod/v4/locales/ps.js +0 -122
  549. package/template/apps/platform/node_modules/zod/v4/locales/pt.cjs +0 -142
  550. package/template/apps/platform/node_modules/zod/v4/locales/pt.d.cts +0 -4
  551. package/template/apps/platform/node_modules/zod/v4/locales/pt.d.ts +0 -4
  552. package/template/apps/platform/node_modules/zod/v4/locales/pt.js +0 -116
  553. package/template/apps/platform/node_modules/zod/v4/locales/ru.cjs +0 -190
  554. package/template/apps/platform/node_modules/zod/v4/locales/ru.d.cts +0 -4
  555. package/template/apps/platform/node_modules/zod/v4/locales/ru.d.ts +0 -4
  556. package/template/apps/platform/node_modules/zod/v4/locales/ru.js +0 -164
  557. package/template/apps/platform/node_modules/zod/v4/locales/sl.cjs +0 -143
  558. package/template/apps/platform/node_modules/zod/v4/locales/sl.d.cts +0 -4
  559. package/template/apps/platform/node_modules/zod/v4/locales/sl.d.ts +0 -4
  560. package/template/apps/platform/node_modules/zod/v4/locales/sl.js +0 -117
  561. package/template/apps/platform/node_modules/zod/v4/locales/sv.cjs +0 -144
  562. package/template/apps/platform/node_modules/zod/v4/locales/sv.d.cts +0 -4
  563. package/template/apps/platform/node_modules/zod/v4/locales/sv.d.ts +0 -4
  564. package/template/apps/platform/node_modules/zod/v4/locales/sv.js +0 -118
  565. package/template/apps/platform/node_modules/zod/v4/locales/ta.cjs +0 -143
  566. package/template/apps/platform/node_modules/zod/v4/locales/ta.d.cts +0 -4
  567. package/template/apps/platform/node_modules/zod/v4/locales/ta.d.ts +0 -4
  568. package/template/apps/platform/node_modules/zod/v4/locales/ta.js +0 -117
  569. package/template/apps/platform/node_modules/zod/v4/locales/th.cjs +0 -143
  570. package/template/apps/platform/node_modules/zod/v4/locales/th.d.cts +0 -4
  571. package/template/apps/platform/node_modules/zod/v4/locales/th.d.ts +0 -4
  572. package/template/apps/platform/node_modules/zod/v4/locales/th.js +0 -117
  573. package/template/apps/platform/node_modules/zod/v4/locales/tr.cjs +0 -143
  574. package/template/apps/platform/node_modules/zod/v4/locales/tr.d.cts +0 -5
  575. package/template/apps/platform/node_modules/zod/v4/locales/tr.d.ts +0 -5
  576. package/template/apps/platform/node_modules/zod/v4/locales/tr.js +0 -115
  577. package/template/apps/platform/node_modules/zod/v4/locales/ua.cjs +0 -143
  578. package/template/apps/platform/node_modules/zod/v4/locales/ua.d.cts +0 -4
  579. package/template/apps/platform/node_modules/zod/v4/locales/ua.d.ts +0 -4
  580. package/template/apps/platform/node_modules/zod/v4/locales/ua.js +0 -117
  581. package/template/apps/platform/node_modules/zod/v4/locales/ur.cjs +0 -143
  582. package/template/apps/platform/node_modules/zod/v4/locales/ur.d.cts +0 -4
  583. package/template/apps/platform/node_modules/zod/v4/locales/ur.d.ts +0 -4
  584. package/template/apps/platform/node_modules/zod/v4/locales/ur.js +0 -117
  585. package/template/apps/platform/node_modules/zod/v4/locales/vi.cjs +0 -142
  586. package/template/apps/platform/node_modules/zod/v4/locales/vi.d.cts +0 -4
  587. package/template/apps/platform/node_modules/zod/v4/locales/vi.d.ts +0 -4
  588. package/template/apps/platform/node_modules/zod/v4/locales/vi.js +0 -116
  589. package/template/apps/platform/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  590. package/template/apps/platform/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  591. package/template/apps/platform/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  592. package/template/apps/platform/node_modules/zod/v4/locales/zh-CN.js +0 -116
  593. package/template/apps/platform/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  594. package/template/apps/platform/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  595. package/template/apps/platform/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  596. package/template/apps/platform/node_modules/zod/v4/locales/zh-TW.js +0 -117
  597. package/template/apps/platform/node_modules/zod/v4/mini/checks.cjs +0 -34
  598. package/template/apps/platform/node_modules/zod/v4/mini/checks.d.cts +0 -1
  599. package/template/apps/platform/node_modules/zod/v4/mini/checks.d.ts +0 -1
  600. package/template/apps/platform/node_modules/zod/v4/mini/checks.js +0 -1
  601. package/template/apps/platform/node_modules/zod/v4/mini/coerce.cjs +0 -47
  602. package/template/apps/platform/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  603. package/template/apps/platform/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  604. package/template/apps/platform/node_modules/zod/v4/mini/coerce.js +0 -17
  605. package/template/apps/platform/node_modules/zod/v4/mini/external.cjs +0 -62
  606. package/template/apps/platform/node_modules/zod/v4/mini/external.d.cts +0 -11
  607. package/template/apps/platform/node_modules/zod/v4/mini/external.d.ts +0 -11
  608. package/template/apps/platform/node_modules/zod/v4/mini/external.js +0 -13
  609. package/template/apps/platform/node_modules/zod/v4/mini/index.cjs +0 -32
  610. package/template/apps/platform/node_modules/zod/v4/mini/index.d.cts +0 -3
  611. package/template/apps/platform/node_modules/zod/v4/mini/index.d.ts +0 -3
  612. package/template/apps/platform/node_modules/zod/v4/mini/index.js +0 -3
  613. package/template/apps/platform/node_modules/zod/v4/mini/iso.cjs +0 -60
  614. package/template/apps/platform/node_modules/zod/v4/mini/iso.d.cts +0 -22
  615. package/template/apps/platform/node_modules/zod/v4/mini/iso.d.ts +0 -22
  616. package/template/apps/platform/node_modules/zod/v4/mini/iso.js +0 -30
  617. package/template/apps/platform/node_modules/zod/v4/mini/parse.cjs +0 -8
  618. package/template/apps/platform/node_modules/zod/v4/mini/parse.d.cts +0 -1
  619. package/template/apps/platform/node_modules/zod/v4/mini/parse.d.ts +0 -1
  620. package/template/apps/platform/node_modules/zod/v4/mini/parse.js +0 -1
  621. package/template/apps/platform/node_modules/zod/v4/mini/schemas.cjs +0 -839
  622. package/template/apps/platform/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  623. package/template/apps/platform/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  624. package/template/apps/platform/node_modules/zod/v4/mini/schemas.js +0 -732
  625. package/template/apps/platform/node_modules/zod/v4-mini/index.cjs +0 -17
  626. package/template/apps/platform/node_modules/zod/v4-mini/index.d.cts +0 -1
  627. package/template/apps/platform/node_modules/zod/v4-mini/index.d.ts +0 -1
  628. package/template/apps/platform/node_modules/zod/v4-mini/index.js +0 -1
@@ -1,630 +0,0 @@
1
- import * as core from "../core/index.cjs";
2
- import { util } from "../core/index.cjs";
3
- import * as parse from "./parse.cjs";
4
- export interface RefinementCtx<T = unknown> extends core.ParsePayload<T> {
5
- addIssue(arg: string | core.$ZodRawIssue | Partial<core.$ZodIssueCustom>): void;
6
- }
7
- export interface ZodType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {
8
- def: Internals["def"];
9
- type: Internals["def"]["type"];
10
- /** @deprecated Use `.def` instead. */
11
- _def: Internals["def"];
12
- /** @deprecated Use `z.output<typeof schema>` instead. */
13
- _output: Internals["output"];
14
- /** @deprecated Use `z.input<typeof schema>` instead. */
15
- _input: Internals["input"];
16
- check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
17
- clone(def?: Internals["def"], params?: {
18
- parent: boolean;
19
- }): this;
20
- register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [core.$replace<R["_meta"], this>?] : [core.$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
21
- brand<T extends PropertyKey = PropertyKey>(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T>;
22
- parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
23
- safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;
24
- parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
25
- safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;
26
- spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
27
- refine(check: (arg: core.output<this>) => unknown | Promise<unknown>, params?: string | core.$ZodCustomParams): this;
28
- /** @deprecated Use `.check()` instead. */
29
- superRefine(refinement: (arg: core.output<this>, ctx: RefinementCtx<core.output<this>>) => void | Promise<void>): this;
30
- overwrite(fn: (x: core.output<this>) => core.output<this>): this;
31
- optional(): ZodOptional<this>;
32
- nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
33
- nullable(): ZodNullable<this>;
34
- nullish(): ZodOptional<ZodNullable<this>>;
35
- default(def: core.output<this>): ZodDefault<this>;
36
- default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;
37
- prefault(def: () => core.input<this>): ZodPrefault<this>;
38
- prefault(def: core.input<this>): ZodPrefault<this>;
39
- array(): ZodArray<this>;
40
- or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;
41
- and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;
42
- transform<NewOut>(transform: (arg: core.output<this>, ctx: RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;
43
- catch(def: core.output<this>): ZodCatch<this>;
44
- catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;
45
- pipe<T extends core.$ZodType<any, core.output<this>>>(target: T | core.$ZodType<any, core.output<this>>): ZodPipe<this, T>;
46
- readonly(): ZodReadonly<this>;
47
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
48
- describe(description: string): this;
49
- description?: string;
50
- /** Returns the metadata associated with this instance in `z.globalRegistry` */
51
- meta(): core.$replace<core.GlobalMeta, this> | undefined;
52
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
53
- meta(data: core.$replace<core.GlobalMeta, this>): this;
54
- /** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
55
- *
56
- * ```ts
57
- * const schema = z.string().optional();
58
- * const isOptional = schema.safeParse(undefined).success; // true
59
- * ```
60
- */
61
- isOptional(): boolean;
62
- /**
63
- * @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
64
- *
65
- * ```ts
66
- * const schema = z.string().nullable();
67
- * const isNullable = schema.safeParse(null).success; // true
68
- * ```
69
- */
70
- isNullable(): boolean;
71
- }
72
- export interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodType<any, any, Internals> {
73
- }
74
- export declare const ZodType: core.$constructor<ZodType>;
75
- export interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodType<T> {
76
- format: string | null;
77
- minLength: number | null;
78
- maxLength: number | null;
79
- regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
80
- includes(value: string, params?: core.$ZodCheckIncludesParams): this;
81
- startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
82
- endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
83
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
84
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
85
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
86
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
87
- lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;
88
- uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;
89
- trim(): this;
90
- normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
91
- toLowerCase(): this;
92
- toUpperCase(): this;
93
- }
94
- /** @internal */
95
- export declare const _ZodString: core.$constructor<_ZodString>;
96
- export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
97
- /** @deprecated Use `z.email()` instead. */
98
- email(params?: string | core.$ZodCheckEmailParams): this;
99
- /** @deprecated Use `z.url()` instead. */
100
- url(params?: string | core.$ZodCheckURLParams): this;
101
- /** @deprecated Use `z.jwt()` instead. */
102
- jwt(params?: string | core.$ZodCheckJWTParams): this;
103
- /** @deprecated Use `z.emoji()` instead. */
104
- emoji(params?: string | core.$ZodCheckEmojiParams): this;
105
- /** @deprecated Use `z.guid()` instead. */
106
- guid(params?: string | core.$ZodCheckGUIDParams): this;
107
- /** @deprecated Use `z.uuid()` instead. */
108
- uuid(params?: string | core.$ZodCheckUUIDParams): this;
109
- /** @deprecated Use `z.uuid()` instead. */
110
- uuidv4(params?: string | core.$ZodCheckUUIDParams): this;
111
- /** @deprecated Use `z.uuid()` instead. */
112
- uuidv6(params?: string | core.$ZodCheckUUIDParams): this;
113
- /** @deprecated Use `z.uuid()` instead. */
114
- uuidv7(params?: string | core.$ZodCheckUUIDParams): this;
115
- /** @deprecated Use `z.nanoid()` instead. */
116
- nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
117
- /** @deprecated Use `z.guid()` instead. */
118
- guid(params?: string | core.$ZodCheckGUIDParams): this;
119
- /** @deprecated Use `z.cuid()` instead. */
120
- cuid(params?: string | core.$ZodCheckCUIDParams): this;
121
- /** @deprecated Use `z.cuid2()` instead. */
122
- cuid2(params?: string | core.$ZodCheckCUID2Params): this;
123
- /** @deprecated Use `z.ulid()` instead. */
124
- ulid(params?: string | core.$ZodCheckULIDParams): this;
125
- /** @deprecated Use `z.base64()` instead. */
126
- base64(params?: string | core.$ZodCheckBase64Params): this;
127
- /** @deprecated Use `z.base64url()` instead. */
128
- base64url(params?: string | core.$ZodCheckBase64URLParams): this;
129
- /** @deprecated Use `z.xid()` instead. */
130
- xid(params?: string | core.$ZodCheckXIDParams): this;
131
- /** @deprecated Use `z.ksuid()` instead. */
132
- ksuid(params?: string | core.$ZodCheckKSUIDParams): this;
133
- /** @deprecated Use `z.ipv4()` instead. */
134
- ipv4(params?: string | core.$ZodCheckIPv4Params): this;
135
- /** @deprecated Use `z.ipv6()` instead. */
136
- ipv6(params?: string | core.$ZodCheckIPv6Params): this;
137
- /** @deprecated Use `z.cidrv4()` instead. */
138
- cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;
139
- /** @deprecated Use `z.cidrv6()` instead. */
140
- cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;
141
- /** @deprecated Use `z.e164()` instead. */
142
- e164(params?: string | core.$ZodCheckE164Params): this;
143
- /** @deprecated Use `z.iso.datetime()` instead. */
144
- datetime(params?: string | core.$ZodCheckISODateTimeParams): this;
145
- /** @deprecated Use `z.iso.date()` instead. */
146
- date(params?: string | core.$ZodCheckISODateParams): this;
147
- /** @deprecated Use `z.iso.time()` instead. */
148
- time(params?: string | core.$ZodCheckISOTimeParams): this;
149
- /** @deprecated Use `z.iso.duration()` instead. */
150
- duration(params?: string | core.$ZodCheckISODurationParams): this;
151
- }
152
- export declare const ZodString: core.$constructor<ZodString>;
153
- export declare function string(params?: string | core.$ZodStringParams): ZodString;
154
- export declare function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
155
- export interface ZodStringFormat<Format extends string = string> extends _ZodString<core.$ZodStringFormatInternals<Format>> {
156
- }
157
- export declare const ZodStringFormat: core.$constructor<ZodStringFormat>;
158
- export interface ZodEmail extends ZodStringFormat<"email"> {
159
- _zod: core.$ZodEmailInternals;
160
- }
161
- export declare const ZodEmail: core.$constructor<ZodEmail>;
162
- export declare function email(params?: string | core.$ZodEmailParams): ZodEmail;
163
- export interface ZodGUID extends ZodStringFormat<"guid"> {
164
- _zod: core.$ZodGUIDInternals;
165
- }
166
- export declare const ZodGUID: core.$constructor<ZodGUID>;
167
- export declare function guid(params?: string | core.$ZodGUIDParams): ZodGUID;
168
- export interface ZodUUID extends ZodStringFormat<"uuid"> {
169
- _zod: core.$ZodUUIDInternals;
170
- }
171
- export declare const ZodUUID: core.$constructor<ZodUUID>;
172
- export declare function uuid(params?: string | core.$ZodUUIDParams): ZodUUID;
173
- export declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID;
174
- export declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID;
175
- export declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID;
176
- export interface ZodURL extends ZodStringFormat<"url"> {
177
- _zod: core.$ZodURLInternals;
178
- }
179
- export declare const ZodURL: core.$constructor<ZodURL>;
180
- export declare function url(params?: string | core.$ZodURLParams): ZodURL;
181
- export interface ZodEmoji extends ZodStringFormat<"emoji"> {
182
- _zod: core.$ZodEmojiInternals;
183
- }
184
- export declare const ZodEmoji: core.$constructor<ZodEmoji>;
185
- export declare function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji;
186
- export interface ZodNanoID extends ZodStringFormat<"nanoid"> {
187
- _zod: core.$ZodNanoIDInternals;
188
- }
189
- export declare const ZodNanoID: core.$constructor<ZodNanoID>;
190
- export declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID;
191
- export interface ZodCUID extends ZodStringFormat<"cuid"> {
192
- _zod: core.$ZodCUIDInternals;
193
- }
194
- export declare const ZodCUID: core.$constructor<ZodCUID>;
195
- export declare function cuid(params?: string | core.$ZodCUIDParams): ZodCUID;
196
- export interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
197
- _zod: core.$ZodCUID2Internals;
198
- }
199
- export declare const ZodCUID2: core.$constructor<ZodCUID2>;
200
- export declare function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2;
201
- export interface ZodULID extends ZodStringFormat<"ulid"> {
202
- _zod: core.$ZodULIDInternals;
203
- }
204
- export declare const ZodULID: core.$constructor<ZodULID>;
205
- export declare function ulid(params?: string | core.$ZodULIDParams): ZodULID;
206
- export interface ZodXID extends ZodStringFormat<"xid"> {
207
- _zod: core.$ZodXIDInternals;
208
- }
209
- export declare const ZodXID: core.$constructor<ZodXID>;
210
- export declare function xid(params?: string | core.$ZodXIDParams): ZodXID;
211
- export interface ZodKSUID extends ZodStringFormat<"ksuid"> {
212
- _zod: core.$ZodKSUIDInternals;
213
- }
214
- export declare const ZodKSUID: core.$constructor<ZodKSUID>;
215
- export declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID;
216
- export interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
217
- _zod: core.$ZodIPv4Internals;
218
- }
219
- export declare const ZodIPv4: core.$constructor<ZodIPv4>;
220
- export declare function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4;
221
- export interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
222
- _zod: core.$ZodIPv6Internals;
223
- }
224
- export declare const ZodIPv6: core.$constructor<ZodIPv6>;
225
- export declare function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6;
226
- export interface ZodCIDRv4 extends ZodStringFormat<"cidrv4"> {
227
- _zod: core.$ZodCIDRv4Internals;
228
- }
229
- export declare const ZodCIDRv4: core.$constructor<ZodCIDRv4>;
230
- export declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4;
231
- export interface ZodCIDRv6 extends ZodStringFormat<"cidrv6"> {
232
- _zod: core.$ZodCIDRv6Internals;
233
- }
234
- export declare const ZodCIDRv6: core.$constructor<ZodCIDRv6>;
235
- export declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6;
236
- export interface ZodBase64 extends ZodStringFormat<"base64"> {
237
- _zod: core.$ZodBase64Internals;
238
- }
239
- export declare const ZodBase64: core.$constructor<ZodBase64>;
240
- export declare function base64(params?: string | core.$ZodBase64Params): ZodBase64;
241
- export interface ZodBase64URL extends ZodStringFormat<"base64url"> {
242
- _zod: core.$ZodBase64URLInternals;
243
- }
244
- export declare const ZodBase64URL: core.$constructor<ZodBase64URL>;
245
- export declare function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL;
246
- export interface ZodE164 extends ZodStringFormat<"e164"> {
247
- _zod: core.$ZodE164Internals;
248
- }
249
- export declare const ZodE164: core.$constructor<ZodE164>;
250
- export declare function e164(params?: string | core.$ZodE164Params): ZodE164;
251
- export interface ZodJWT extends ZodStringFormat<"jwt"> {
252
- _zod: core.$ZodJWTInternals;
253
- }
254
- export declare const ZodJWT: core.$constructor<ZodJWT>;
255
- export declare function jwt(params?: string | core.$ZodJWTParams): ZodJWT;
256
- export interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, core.$ZodCustomStringFormat<Format> {
257
- _zod: core.$ZodCustomStringFormatInternals<Format>;
258
- }
259
- export declare const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat>;
260
- export declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<Format>;
261
- export interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals> extends _ZodType<Internals> {
262
- gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
263
- /** Identical to .min() */
264
- gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
265
- min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
266
- lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;
267
- /** Identical to .max() */
268
- lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;
269
- max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
270
- /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
271
- int(params?: string | core.$ZodCheckNumberFormatParams): this;
272
- /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
273
- safe(params?: string | core.$ZodCheckNumberFormatParams): this;
274
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
275
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
276
- negative(params?: string | core.$ZodCheckLessThanParams): this;
277
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
278
- multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
279
- /** @deprecated Use `.multipleOf()` instead. */
280
- step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
281
- /** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
282
- finite(params?: unknown): this;
283
- minValue: number | null;
284
- maxValue: number | null;
285
- /** @deprecated Check the `format` property instead. */
286
- isInt: boolean;
287
- /** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
288
- isFinite: boolean;
289
- format: string | null;
290
- }
291
- export interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {
292
- }
293
- export declare const ZodNumber: core.$constructor<ZodNumber>;
294
- export declare function number(params?: string | core.$ZodNumberParams): ZodNumber;
295
- export interface ZodNumberFormat extends ZodNumber {
296
- _zod: core.$ZodNumberFormatInternals;
297
- }
298
- export declare const ZodNumberFormat: core.$constructor<ZodNumberFormat>;
299
- export interface ZodInt extends ZodNumberFormat {
300
- }
301
- export declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt;
302
- export interface ZodFloat32 extends ZodNumberFormat {
303
- }
304
- export declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32;
305
- export interface ZodFloat64 extends ZodNumberFormat {
306
- }
307
- export declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64;
308
- export interface ZodInt32 extends ZodNumberFormat {
309
- }
310
- export declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32;
311
- export interface ZodUInt32 extends ZodNumberFormat {
312
- }
313
- export declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32;
314
- export interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {
315
- }
316
- export interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {
317
- }
318
- export declare const ZodBoolean: core.$constructor<ZodBoolean>;
319
- export declare function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean;
320
- export interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {
321
- gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
322
- /** Alias of `.gte()` */
323
- min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
324
- gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
325
- /** Alias of `.lte()` */
326
- lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
327
- max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
328
- lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
329
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
330
- negative(params?: string | core.$ZodCheckLessThanParams): this;
331
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
332
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
333
- multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;
334
- minValue: bigint | null;
335
- maxValue: bigint | null;
336
- format: string | null;
337
- }
338
- export interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {
339
- }
340
- export declare const ZodBigInt: core.$constructor<ZodBigInt>;
341
- export declare function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt;
342
- export interface ZodBigIntFormat extends ZodBigInt {
343
- _zod: core.$ZodBigIntFormatInternals;
344
- }
345
- export declare const ZodBigIntFormat: core.$constructor<ZodBigIntFormat>;
346
- export declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat;
347
- export declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat;
348
- export interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {
349
- }
350
- export declare const ZodSymbol: core.$constructor<ZodSymbol>;
351
- export declare function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol;
352
- export interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {
353
- }
354
- export declare const ZodUndefined: core.$constructor<ZodUndefined>;
355
- declare function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined;
356
- export { _undefined as undefined };
357
- export interface ZodNull extends _ZodType<core.$ZodNullInternals> {
358
- }
359
- export declare const ZodNull: core.$constructor<ZodNull>;
360
- declare function _null(params?: string | core.$ZodNullParams): ZodNull;
361
- export { _null as null };
362
- export interface ZodAny extends _ZodType<core.$ZodAnyInternals> {
363
- }
364
- export declare const ZodAny: core.$constructor<ZodAny>;
365
- export declare function any(): ZodAny;
366
- export interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {
367
- }
368
- export declare const ZodUnknown: core.$constructor<ZodUnknown>;
369
- export declare function unknown(): ZodUnknown;
370
- export interface ZodNever extends _ZodType<core.$ZodNeverInternals> {
371
- }
372
- export declare const ZodNever: core.$constructor<ZodNever>;
373
- export declare function never(params?: string | core.$ZodNeverParams): ZodNever;
374
- export interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {
375
- }
376
- export declare const ZodVoid: core.$constructor<ZodVoid>;
377
- declare function _void(params?: string | core.$ZodVoidParams): ZodVoid;
378
- export { _void as void };
379
- export interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {
380
- min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;
381
- max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;
382
- /** @deprecated Not recommended. */
383
- minDate: Date | null;
384
- /** @deprecated Not recommended. */
385
- maxDate: Date | null;
386
- }
387
- export interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {
388
- }
389
- export declare const ZodDate: core.$constructor<ZodDate>;
390
- export declare function date(params?: string | core.$ZodDateParams): ZodDate;
391
- export interface ZodArray<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {
392
- element: T;
393
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
394
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
395
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
396
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
397
- unwrap(): T;
398
- }
399
- export declare const ZodArray: core.$constructor<ZodArray>;
400
- export declare function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T>;
401
- export declare function keyof<T extends ZodObject>(schema: T): ZodLiteral<Exclude<keyof T["_zod"]["output"], symbol>>;
402
- export interface ZodObject<
403
- /** @ts-ignore Cast variance */
404
- out Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.$ZodObjectConfig = core.$strip> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {
405
- shape: Shape;
406
- keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
407
- /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
408
- catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;
409
- /** @deprecated Use `z.looseObject()` or `.loose()` instead. */
410
- passthrough(): ZodObject<Shape, core.$loose>;
411
- /** Consider `z.looseObject(A.shape)` instead */
412
- loose(): ZodObject<Shape, core.$loose>;
413
- /** Consider `z.strictObject(A.shape)` instead */
414
- strict(): ZodObject<Shape, core.$strict>;
415
- /** This is the default behavior. This method call is likely unnecessary. */
416
- strip(): ZodObject<Shape, core.$strip>;
417
- extend<U extends core.$ZodLooseShape & Partial<Record<keyof Shape, core.SomeType>>>(shape: U): ZodObject<util.Extend<Shape, U>, Config>;
418
- /**
419
- * @deprecated Use spread syntax and the `.shape` property to combine two object schemas:
420
- *
421
- * ```ts
422
- * const A = z.object({ a: z.string() });
423
- * const B = z.object({ b: z.number() });
424
- *
425
- * const C = z.object({
426
- * ...A.shape,
427
- * ...B.shape
428
- * });
429
- * ```
430
- */
431
- merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
432
- pick<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
433
- omit<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
434
- partial(): ZodObject<{
435
- [k in keyof Shape]: ZodOptional<Shape[k]>;
436
- }, Config>;
437
- partial<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<{
438
- [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k];
439
- }, Config>;
440
- required(): ZodObject<{
441
- [k in keyof Shape]: ZodNonOptional<Shape[k]>;
442
- }, Config>;
443
- required<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<{
444
- [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
445
- }, Config>;
446
- }
447
- export declare const ZodObject: core.$constructor<ZodObject>;
448
- export declare function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(shape?: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strip>;
449
- export declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<T, core.$strict>;
450
- export declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<T, core.$loose>;
451
- export interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodUnionInternals<T>>, core.$ZodUnion<T> {
452
- options: T;
453
- }
454
- export declare const ZodUnion: core.$constructor<ZodUnion>;
455
- export declare function union<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodUnion<T>;
456
- export interface ZodDiscriminatedUnion<Options extends readonly core.SomeType[] = readonly core.$ZodType[]> extends ZodUnion<Options>, core.$ZodDiscriminatedUnion<Options> {
457
- _zod: core.$ZodDiscriminatedUnionInternals<Options>;
458
- }
459
- export declare const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion>;
460
- export declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]]>(discriminator: string, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types>;
461
- export interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodIntersectionInternals<A, B>>, core.$ZodIntersection<A, B> {
462
- }
463
- export declare const ZodIntersection: core.$constructor<ZodIntersection>;
464
- export declare function intersection<T extends core.SomeType, U extends core.SomeType>(left: T, right: U): ZodIntersection<T, U>;
465
- export interface ZodTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends core.SomeType | null = core.$ZodType | null> extends _ZodType<core.$ZodTupleInternals<T, Rest>>, core.$ZodTuple<T, Rest> {
466
- rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
467
- }
468
- export declare const ZodTuple: core.$constructor<ZodTuple>;
469
- export declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodTuple<T, null>;
470
- export declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodTuple<T, Rest>;
471
- export declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;
472
- export interface ZodRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodRecordInternals<Key, Value>>, core.$ZodRecord<Key, Value> {
473
- keyType: Key;
474
- valueType: Value;
475
- }
476
- export declare const ZodRecord: core.$constructor<ZodRecord>;
477
- export declare function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;
478
- export declare function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key & core.$partial, Value>;
479
- export interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodMapInternals<Key, Value>>, core.$ZodMap<Key, Value> {
480
- keyType: Key;
481
- valueType: Value;
482
- }
483
- export declare const ZodMap: core.$constructor<ZodMap>;
484
- export declare function map<Key extends core.SomeType, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMap<Key, Value>;
485
- export interface ZodSet<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSetInternals<T>>, core.$ZodSet<T> {
486
- min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
487
- /** */
488
- nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
489
- max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
490
- size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
491
- }
492
- export declare const ZodSet: core.$constructor<ZodSet>;
493
- export declare function set<Value extends core.SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodSet<Value>;
494
- export interface ZodEnum<
495
- /** @ts-ignore Cast variance */
496
- out T extends util.EnumLike = util.EnumLike> extends _ZodType<core.$ZodEnumInternals<T>>, core.$ZodEnum<T> {
497
- enum: T;
498
- options: Array<T[keyof T]>;
499
- extract<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Pick<T, U[number]>>>;
500
- exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Omit<T, U[number]>>>;
501
- }
502
- export declare const ZodEnum: core.$constructor<ZodEnum>;
503
- declare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodEnum<util.ToEnum<T[number]>>;
504
- declare function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
505
- export { _enum as enum };
506
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
507
- *
508
- * ```ts
509
- * enum Colors { red, green, blue }
510
- * z.enum(Colors);
511
- * ```
512
- */
513
- export declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
514
- export interface ZodLiteral<T extends util.Literal = util.Literal> extends _ZodType<core.$ZodLiteralInternals<T>>, core.$ZodLiteral<T> {
515
- values: Set<T>;
516
- /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
517
- value: T;
518
- }
519
- export declare const ZodLiteral: core.$constructor<ZodLiteral>;
520
- export declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T[number]>;
521
- export declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T>;
522
- export interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
523
- min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;
524
- max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;
525
- mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;
526
- }
527
- export declare const ZodFile: core.$constructor<ZodFile>;
528
- export declare function file(params?: string | core.$ZodFileParams): ZodFile;
529
- export interface ZodTransform<O = unknown, I = unknown> extends _ZodType<core.$ZodTransformInternals<O, I>>, core.$ZodTransform<O, I> {
530
- }
531
- export declare const ZodTransform: core.$constructor<ZodTransform>;
532
- export declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.ParsePayload) => O): ZodTransform<Awaited<O>, I>;
533
- export interface ZodOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {
534
- unwrap(): T;
535
- }
536
- export declare const ZodOptional: core.$constructor<ZodOptional>;
537
- export declare function optional<T extends core.SomeType>(innerType: T): ZodOptional<T>;
538
- export interface ZodNullable<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNullableInternals<T>>, core.$ZodNullable<T> {
539
- unwrap(): T;
540
- }
541
- export declare const ZodNullable: core.$constructor<ZodNullable>;
542
- export declare function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T>;
543
- export declare function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;
544
- export interface ZodDefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodDefaultInternals<T>>, core.$ZodDefault<T> {
545
- unwrap(): T;
546
- /** @deprecated Use `.unwrap()` instead. */
547
- removeDefault(): T;
548
- }
549
- export declare const ZodDefault: core.$constructor<ZodDefault>;
550
- export declare function _default<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;
551
- export interface ZodPrefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPrefaultInternals<T>>, core.$ZodPrefault<T> {
552
- unwrap(): T;
553
- }
554
- export declare const ZodPrefault: core.$constructor<ZodPrefault>;
555
- export declare function prefault<T extends core.SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodPrefault<T>;
556
- export interface ZodNonOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNonOptionalInternals<T>>, core.$ZodNonOptional<T> {
557
- unwrap(): T;
558
- }
559
- export declare const ZodNonOptional: core.$constructor<ZodNonOptional>;
560
- export declare function nonoptional<T extends core.SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodNonOptional<T>;
561
- export interface ZodSuccess<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSuccessInternals<T>>, core.$ZodSuccess<T> {
562
- unwrap(): T;
563
- }
564
- export declare const ZodSuccess: core.$constructor<ZodSuccess>;
565
- export declare function success<T extends core.SomeType>(innerType: T): ZodSuccess<T>;
566
- export interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodCatchInternals<T>>, core.$ZodCatch<T> {
567
- unwrap(): T;
568
- /** @deprecated Use `.unwrap()` instead. */
569
- removeCatch(): T;
570
- }
571
- export declare const ZodCatch: core.$constructor<ZodCatch>;
572
- declare function _catch<T extends core.SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodCatch<T>;
573
- export { _catch as catch };
574
- export interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {
575
- }
576
- export declare const ZodNaN: core.$constructor<ZodNaN>;
577
- export declare function nan(params?: string | core.$ZodNaNParams): ZodNaN;
578
- export interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPipeInternals<A, B>>, core.$ZodPipe<A, B> {
579
- in: A;
580
- out: B;
581
- }
582
- export declare const ZodPipe: core.$constructor<ZodPipe>;
583
- export declare function pipe<const A extends core.SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;
584
- export interface ZodReadonly<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodReadonlyInternals<T>>, core.$ZodReadonly<T> {
585
- }
586
- export declare const ZodReadonly: core.$constructor<ZodReadonly>;
587
- export declare function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T>;
588
- export interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>, core.$ZodTemplateLiteral<Template> {
589
- }
590
- export declare const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral>;
591
- export declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;
592
- export interface ZodLazy<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodLazyInternals<T>>, core.$ZodLazy<T> {
593
- unwrap(): T;
594
- }
595
- export declare const ZodLazy: core.$constructor<ZodLazy>;
596
- export declare function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T>;
597
- export interface ZodPromise<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPromiseInternals<T>>, core.$ZodPromise<T> {
598
- unwrap(): T;
599
- }
600
- export declare const ZodPromise: core.$constructor<ZodPromise>;
601
- export declare function promise<T extends core.SomeType>(innerType: T): ZodPromise<T>;
602
- export interface ZodCustom<O = unknown, I = unknown> extends _ZodType<core.$ZodCustomInternals<O, I>>, core.$ZodCustom<O, I> {
603
- }
604
- export declare const ZodCustom: core.$constructor<ZodCustom>;
605
- export declare function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O>;
606
- export declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodCustom<O, O>;
607
- export declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;
608
- export declare function superRefine<T>(fn: (arg: T, payload: RefinementCtx<T>) => void | Promise<void>): core.$ZodCheck<T>;
609
- type ZodInstanceOfParams = core.Params<ZodCustom, core.$ZodIssueCustom, "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path">;
610
- declare function _instanceof<T extends typeof util.Class>(cls: T, params?: ZodInstanceOfParams): ZodCustom<InstanceType<T>, InstanceType<T>>;
611
- export { _instanceof as instanceof };
612
- export declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodPipe<ZodPipe<ZodString, ZodTransform<boolean, string>>, ZodBoolean>;
613
- type _ZodJSONSchema = ZodUnion<[
614
- ZodString,
615
- ZodNumber,
616
- ZodBoolean,
617
- ZodNull,
618
- ZodArray<ZodJSONSchema>,
619
- ZodRecord<ZodString, ZodJSONSchema>
620
- ]>;
621
- type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
622
- export interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {
623
- output: util.JSONType;
624
- input: util.JSONType;
625
- }
626
- export interface ZodJSONSchema extends _ZodJSONSchema {
627
- _zod: ZodJSONSchemaInternals;
628
- }
629
- export declare function json(params?: string | core.$ZodCustomParams): ZodJSONSchema;
630
- export declare function preprocess<A, U extends core.SomeType, B = unknown>(fn: (arg: B, ctx: RefinementCtx) => A, schema: U): ZodPipe<ZodTransform<A, B>, U>;